Link to home
Start Free TrialLog in
Avatar of Milewskp
MilewskpFlag for Canada

asked on

How to get PC hardware configuration details.

Some Microsoft apps determine the hardware configuration of the PC they are being installed on in order to prevent users from installing multiple copies. I would like to do the same for my Access apps.

How can you determine the hardware configuration details of a PC? The more info I can get about the configuration, the better.
ASKER CERTIFIED SOLUTION
Avatar of nico5038
nico5038
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Milewskp

ASKER

Hi Nico,
Thanks pretty good, but I'm was hoping to get more information on the hardware components; eg., the make and model of the:
- CPU
- Disk drives
- hard drive
- etc

That is, the information that you see in the Device Manager panel (Control Panel/ Performance and Maintenance/ System/
Hardware/ Device manager).  :-)
Diskdrives is in sample 11-12.mdb :-)

CPU I haven't found yet, but I'll keep searching :-)

The same booksamples holds however in chapter 4 (sample: 04-10.mdb) a way to secure your .mdb on userlevel....

Nic;o)
SOLUTION
Avatar of rockiroads
rockiroads
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
nico,
I checked out sample 11-12.mdb. All I could see what the drive letters (eg C, D, etc? Is this what you meant by disk drive ID?
I looked for 04-10.mdb, but it only goes up to 4-9.mdb.
11-12: Correct,it's in the text that you can use the GetVolumeInformation for more information.
04-10: Is a text paragraph and I took the window from the Wrkgadm.exe as being part ofa sample :-(
It's a feature for creating a unique identifier based on the Workgroup ID.

Nic;o)
I've found a few internet sites that show you how to get the manufacturer's serial number (not the serial number of the volume, which changes when you reformat) for the hard drives of a PC; eg    
         http://www.codeproject.com/csharp/hard_disk_serialNo.asp

But these methods are coded in vb.net. Does anyone know how to do it in vba?