how to create autodetect driver project?

sarmad

Active member
Joined
Jan 22, 2006
Messages
37
Programming Experience
1-3
hi. i was looking for some source or idea to create the form in vb.net that can

detect the unknown device in pc and return a value for me and run the

installaton driver package for that device. i guess the

value that must be return is "compatible lds " FROM driver details of that

device look like this "pci\VEN_13D0&CC_0280" OR "PCI\CC_0280" (this is dvb

unknown device; model : sky star2 ).


i saw the msi installation driver package cd and i couldnt understood how

they can autodetect driver...

hope you can help me!


bye
 
You can query WMI class Win32_PnPEntity and check for error code to get devices that are not working properly with this WQL:
"SELECT * FROM Win32_PnPEntity WHERE ConfigManagerErrorCode <> 0"
Have a look at this if you need help with WMI code: http://www.vbdotnetforums.com/showthread.php?t=13972

I don't know about automatic driver retrieval and installation, but perhaps you could just redirect to Microsoft Windows Update if any detected?
 
Back
Top