Link to home
Start Free TrialLog in
Avatar of pdorman
pdorman

asked on

Bus Type

How to I determine the bus type of the user's computer in Visual Basic 5.0? ie, is it ISA, EISA, VESA, PCI, etc?
Avatar of Darlof
Darlof

I don't have an answer to that; but, why do you care?
(No sarcasm intended, I'm really curious.)
 This might be silly. Just provide for some reference. :)
 
  Enumerate all keys under HKLM\System\CurrentControlSet\Services\Class\System

Check value "InfSection" and "DevLoader" under all these keys. If InfSection = "ISA_DRV" and DevLoader = "isapnp.vxd", the machine has ISA bus. If InfSection = "PCI_DRV" and DevLoader = "pci.vxd", the machine has PCI bus. I am not sure about EISA and VESA.

 The DevLoader might be changed and I am also not sure whether it is reliable to check only value "InfSection".  

 Hope this help.
ASKER CERTIFIED SOLUTION
Avatar of yowkee
yowkee

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