Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 426
  • Last Modified:

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?
0
pdorman
Asked:
pdorman
  • 2
1 Solution
 
DarlofCommented:
I don't have an answer to that; but, why do you care?
(No sarcasm intended, I'm really curious.)
0
 
yowkeeCommented:
 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.
0
 
yowkeeCommented:
 Or you might use third party OCX to allow VB to access low level device. One good OCX for this purpose is WinRT 3.0 from BlueWater Systems, Inc.

Check it at
http://www.bluewatersystems.com/frames/content5.html

Note: Check the WinRT OCX property, it has a BusType property.

Regards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now