Creating a Virtual Serial Port

skp888

New member
Joined
Aug 29, 2006
Messages
3
Programming Experience
Beginner
hello

not quite sure were to post this so i put it here

i was wondering how to create a virtual serial port without having to download and/or pay for one of those third party activeX controls or the similar. the serial port needs to act as if were real and allow other programs to send data to it, but all data sent to it will be intercepted by program i am making (just like the ones you can download). i am using VB Express 2005

thanks in advance
 
I think that you'll find that .Net 2005 has a serial port control built it. I have no idea why it was missing it .Net 1.x, but it is back! and it is bad!. Actually no, it's very good. You'll find it under the COM tab in the Add/Remove toolbox items bit.
 
Thanks for the reply

whenever i try to open a serial port (using the vb.net 2005 control) that i have named, say, COM26 i get an error trying to open it (ie on SerialPort.Open()) I know that the port COM26 doesnt exist, but i am trying to create a virtual port.

is there a way to create and open a port such as COM26 that doesnt actually exist on my computer. i know there are thirdparty addons that do this, is there a way to do it with vb.net?

thanks in advance for anymore help
 
I can't really offer any more help i'm afraid, there are literally loads of these components on the net but there are pretty much all shareware. If you want this component then it looks like you may have to purchase it.
 
OK, thanks for your help


If anyone does know any information about this topic then please let me know.

Thanks in advance once again
 
Back
Top