home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / Complete_S476431102002.psc / readme.txt < prev   
Encoding:
Text File  |  2002-01-10  |  2.1 KB  |  50 lines

  1. +=====================================+
  2. | System Monitor ActiveX Usercontrol  |
  3. +=====================================+
  4.  
  5. Having seen so many code snips that either only work with Windows9x or return incorrect 
  6. values, I decided to write one that should work accross ALL version of Windows. 
  7. I was able to find multiple pieces of code all over the place and assembled them into
  8. a neat little ActiveX control.
  9.  
  10. This usercontrol can be be used visually to optionally display the history of any 
  11. of the following values;
  12.   CPU Load, Memory Load, Free Pagefile %, Free Virtual Memory % and the HD Free space %. 
  13.  
  14. While the usercontrol is Enabled the Update event is fired and additional details are passed;
  15.   CPULoadPercent, MemoryLoadPercent, 
  16.   PhysicalMemoryTotal, PhysicalMemoryAvailable, PhysicalMemoryAvailablePercent, 
  17.   PageFileTotal, PageFileAvailable, PageFileAvailablePercent, 
  18.   VirtualMemoryTotal, VirtualMemoryAvailable, VirtualMemoryAvailablePercent, 
  19.   HDTotalBytes, HDTotalFreeBytes, HDAvailableFreeBytes, HDTotalBytesUsed, HDAvailablePercent
  20.  
  21. The control can also be hidden and used to manually retreive the above values using 
  22. the GetCurrentSystemLevels routine. This allows you to retreive current system levels and 
  23. display the information using your own layout/design.
  24.  
  25. The visual look of the control is fully customizable. All colors can be modified to fit the
  26. individual needs of developers. 
  27.  
  28.  
  29.  
  30.  
  31. Note:
  32. The difference between HDAvailableFreeBytes and HDTotalFreeBytes;
  33.  
  34. HDTotalFreeBytes
  35.   The total number of free bytes on the disk.
  36.  
  37. HDAvailableFreeBytes
  38.   The total number of free bytes on the disk that are available 
  39.   to the user associated with the calling thread.
  40.   If per-user quotas are in use, this value may be less than 
  41.   the HDTotalFreeBytes value.
  42.  
  43.  
  44. Contributing Code Authors:
  45. The KPD-Team at AllApi (http://www.allapi.net)
  46. Randy Birch  at VBnet  (http://www.mvps.org/vbnet/index.html)
  47. Sami Riihilahti at PSC (http://www.planet-source-code.com/xq/ASP/txtCodeId.14620/lngWId.1/qx/vb/scripts/ShowCode.htm)
  48. Various Usenet posters
  49. Anonymous Code posters
  50.