Solved

Bus Type

Posted on 1998-05-29
3
404 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

739 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