New Posts  All Forums:Forum Nav:

Hardware Detection Program

post #1 of 5
Thread Starter 
so im attempting to make a program which will pretty much tell you what hardware you have on your system. I already managed to get the program to tell you what operating system (including version) you have. It also tells you memory details such as available and total. I managed to get it to collect the serial ports (COM1, COM2).

how can i get it to communicate with the rest? im writing in VB express 2005 code (we have to, its an assignment).

i am also getting a CPU Software Development Kit from CPUID, the same one they use in CPU-Z to get CPU details. However, its only a 7 day evaluation. blah!

any ideas programming guru's?
    
CPUMotherboardGraphicsRAM
E8500 @ 3.2gHz Gigabyte x48-DQ6 BFG 9800GTX+ (G92) OC Edition 2gb Patriot D9s + 2gb G.Skill Pi PC2-8500 1066Mhz 
Hard DriveOptical DriveOSMonitor
2.5 Tb of WD's SATAII (2 x 500 in RAID 0) Pioneer SATA 20x DVDRW Vista Ultimate x64 SP1 *super-tweaked* Panasonic 42" Widescreen Plasma 
KeyboardPowerCaseMouse
Logitech ELITE multimedia 750w Pc Power & Cooling Silencer (Red) Thermaltake Xaser XI Black w/t Window Logitech G5 2000 dpi gaming 
Mouse Pad
Flexiglow :D 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E8500 @ 3.2gHz Gigabyte x48-DQ6 BFG 9800GTX+ (G92) OC Edition 2gb Patriot D9s + 2gb G.Skill Pi PC2-8500 1066Mhz 
Hard DriveOptical DriveOSMonitor
2.5 Tb of WD's SATAII (2 x 500 in RAID 0) Pioneer SATA 20x DVDRW Vista Ultimate x64 SP1 *super-tweaked* Panasonic 42" Widescreen Plasma 
KeyboardPowerCaseMouse
Logitech ELITE multimedia 750w Pc Power & Cooling Silencer (Red) Thermaltake Xaser XI Black w/t Window Logitech G5 2000 dpi gaming 
Mouse Pad
Flexiglow :D 
  hide details  
Reply
post #2 of 5
I'm writing one in Linux right now in Perl and C.

To get some of the hardware, I'm trying to pull it out from the BIOS (BIOS Data Area). You might be able to do the same.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #3 of 5
Quote:
Originally Posted by tt_shark View Post
so im attempting to make a program which will pretty much tell you what hardware you have on your system. I already managed to get the program to tell you what operating system (including version) you have. It also tells you memory details such as available and total. I managed to get it to collect the serial ports (COM1, COM2).

how can i get it to communicate with the rest? im writing in VB express 2005 code (we have to, its an assignment).

i am also getting a CPU Software Development Kit from CPUID, the same one they use in CPU-Z to get CPU details. However, its only a 7 day evaluation. blah!

any ideas programming guru's?
I am not sure you will be able to use the SDK for a VB.net. Last time I checked the SDK is ported properly for use with anything other than C++. I am sure all of the C++ fanboys are loving that, but it doesn't help you out any. Most of the windows information should be available using some of the built in .net classes. Some other information regarding COM ports may require you to dip into the WinAPI. I haven't actually done that myself, but it should be too challenging.

To everyone else, if you can't give help don't post. Calling this guy's teacher a noob for using VB is just immature. He has to use VB.net so let's keep any help focused on that.
Main Rig
(15 items)
 
  
Reply
Main Rig
(15 items)
 
  
Reply
post #4 of 5
Can you access the registry?

HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Con trol\\Session Manager\\Environment

Also, check this out: http://www.cpuid.com/cpuidsdk.php
post #5 of 5
Thread Starter 
yes i already tried the CPUID SDK if you read my first post.

ok...so im manually doing it now seeing as CPUID was too tight to even send me a trial evaluation.
I have maaaannnyyy modules of code but they are VB6.

i converted them to VB express and i have only one error....

it says that ANY is not a datatype of a declaration for the code line:

ByRef lpData As ANY

I need the equivalent of the ANY datatype for VB express. Anyone know?
    
CPUMotherboardGraphicsRAM
E8500 @ 3.2gHz Gigabyte x48-DQ6 BFG 9800GTX+ (G92) OC Edition 2gb Patriot D9s + 2gb G.Skill Pi PC2-8500 1066Mhz 
Hard DriveOptical DriveOSMonitor
2.5 Tb of WD's SATAII (2 x 500 in RAID 0) Pioneer SATA 20x DVDRW Vista Ultimate x64 SP1 *super-tweaked* Panasonic 42" Widescreen Plasma 
KeyboardPowerCaseMouse
Logitech ELITE multimedia 750w Pc Power & Cooling Silencer (Red) Thermaltake Xaser XI Black w/t Window Logitech G5 2000 dpi gaming 
Mouse Pad
Flexiglow :D 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
E8500 @ 3.2gHz Gigabyte x48-DQ6 BFG 9800GTX+ (G92) OC Edition 2gb Patriot D9s + 2gb G.Skill Pi PC2-8500 1066Mhz 
Hard DriveOptical DriveOSMonitor
2.5 Tb of WD's SATAII (2 x 500 in RAID 0) Pioneer SATA 20x DVDRW Vista Ultimate x64 SP1 *super-tweaked* Panasonic 42" Widescreen Plasma 
KeyboardPowerCaseMouse
Logitech ELITE multimedia 750w Pc Power & Cooling Silencer (Red) Thermaltake Xaser XI Black w/t Window Logitech G5 2000 dpi gaming 
Mouse Pad
Flexiglow :D 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming