Identifying com port driver
Identifying com port driver
Identifying com port driver
Identifying com port driver
Identifying com port driver
Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver
Identifying com port driver Identifying com port driver
Identifying com port driver
Go Back  Xtreme Visual Basic Talk > > > Identifying com port driver


Reply
 
Thread Tools Display Modes
  #1  
Old 12-06-2010, 09:14 AM
Eyewonder Eyewonder is offline
Newcomer
 
Join Date: Dec 2010
Posts: 7
Default Identifying com port driver


I'm working on a USB to Serial converter project.
After the drivers are installed, and hardware plugged in, Windows will recognize the device as a USB Com port.

I need to find out which of the available com ports my hardware is assigned to. One way would be to read which driver is used on each com port, and match that to what my hardware is using.

But I don't know how to get that information. Help is appreciated.

Cheers,
Steve
Reply With Quote
  #2  
Old 12-11-2010, 02:11 AM
Roger_Wgnr's Avatar
Roger_Wgnr Roger_Wgnr is offline
CodeASaurus Hex

Forum Leader
* Expert *
 
Join Date: Jul 2006
Location: San Antonio TX
Posts: 2,427
Default

I have not done this in VB6 but to locate this information you will most likely need to use WMI. I will look for my code if I get some time tomorrow so I can better point you in the right location.
__________________
Code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. ~Martin Golding
The user is a peripheral that types when you issue a read request. ~Peter Williams
MSDN Visual Basic .NET General FAQ
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Identifying com port driver
Identifying com port driver
Identifying com port driver Identifying com port driver
Identifying com port driver
Identifying com port driver
Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver Identifying com port driver
Identifying com port driver
Identifying com port driver
 
Identifying com port driver
Identifying com port driver
 
-->