Results 1 to 6 of 6

Thread: System Information???

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    91

    Question System Information???

    Hi,

    Can anyone help me out on this??

    My client wants to get the system information as shown by SiSoftware Sandra/Norton Utilities.

    Any help would be appreciated.

    Thanks.

  2. #2
    Hyperactive Member
    Join Date
    Jun 2002
    Location
    Tulsa,Ok
    Posts
    262
    Norton displays a lot of information, what exactly are you wanting to show?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    91
    Please have a look at the attatched zip file contents.

    It will give you an idea of the what I want.
    Attached Files Attached Files

  4. #4
    Hyperactive Member
    Join Date
    Jun 2002
    Location
    Tulsa,Ok
    Posts
    262
    That is going to take alot of API calls.

    There is no way to post all those api's here. Here are some links from the code that should help you get started. I have used most of these so if you need any help just ask.

    Memory:
    http://www.vbforums.com/showthread.p...ghlight=memory

    Some System Information:
    http://www.vbforums.com/showthread.p...=getsysteminfo

    http://www.vbforums.com/showthread.p...=getsysteminfo

    Then this might be what you are lookng for
    http://www.vbforums.com/showthread.p...get+audio+info

    Hope this helps

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2002
    Posts
    91
    Hi,

    Thanks Phenglai for your links.

    But still do not get the detailed system information as shown in the attatched files.

    For example how do I show the following-

    Display:
    Supported resolutions
    Supported polygon functions
    Supported rester functions
    Supported line functions etc.

    Devices:
    Installed audio devices
    Installed video devices
    Installed audio codecs
    Installed video codecs etc.

    Drives:
    No of clusters
    Used clusters
    Free clusters
    Bytes per sector
    Sector per clusters etc.

    Please reply.

  6. #6
    Hyperactive Member
    Join Date
    Jun 2002
    Location
    Tulsa,Ok
    Posts
    262
    ok, lets start with the drive information first.

    To get the drive information you need use this API call

    Private Declare Function GetDiskFreeSpaceEx Lib "kernel32" Alias "GetDiskFreeSpaceExA" (ByVal lpRootPathName As String, lpFreeBytesAvailableToCaller As Currency, lpTotalNumberOfBytes As Currency, lpTotalNumberOfFreeBytes As Currency) As Long

    This call returns the bytes per sector, sectors per cluster, free clusters, and total clusters. You will have to figure out the used clusters, but that is just subtracting here.

    The other information, I have never used. I believe the polygon stuff is a DirectX API call to get that info. The audio stuff I am not sure of the API's but will look them up and see if I can find them

    Jerel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width