Accessing COMports in VB.NET (including COM24!)

S

Scott H

I've downloaded a Dot Net assembly DLL and a Class that can both be
used to access COMports from VB.NET
I've used the Class before in another project, using COM2, but I now
want to access COM24, which on my PC is a Bluetooth COM port, and it
just won't open the port.

If I use Hyperterminal to open COM24, it works fine...data streams in.
So, is there some limit so that it can't access above COM8 ?
how does Hyperterminal do it?

Or am I going about this all wrong, am I suppose to use some Bluetooth
stack to access COM24, and if so, anyone got some source code example
to open COM24 and start reading?

Scott
 
T

Thomas Wenning

Scott H said:
I've downloaded a Dot Net assembly DLL and a Class that can both be
used to access COMports from VB.NET
I've used the Class before in another project, using COM2, but I now
want to access COM24, which on my PC is a Bluetooth COM port, and it
just won't open the port.

If I use Hyperterminal to open COM24, it works fine...data streams in.
So, is there some limit so that it can't access above COM8 ?
how does Hyperterminal do it?

Or am I going about this all wrong, am I suppose to use some Bluetooth
stack to access COM24, and if so, anyone got some source code example
to open COM24 and start reading?

Scott
Hi Scott,

try this:
http://www.sax.net/framework/communications/

Greeting

Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top