Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Bus Type

Posted on 1998-05-29
3
Medium Priority
?
417 Views
Last Modified: 2010-05-03
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
Comment
Question by:pdorman
  • 2
3 Comments
 

Expert Comment

by:Darlof
ID: 1462079
I don't have an answer to that; but, why do you care?
(No sarcasm intended, I'm really curious.)
0
 
LVL 4

Expert Comment

by:yowkee
ID: 1462080
 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
 
LVL 4

Accepted Solution

by:
yowkee earned 400 total points
ID: 1462081
 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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question