Using the comm port

Jay1b

Contributor
Joined
Aug 3, 2003
Messages
640
Location
Kent, Uk.
I am trying to receive and send some text via the comm ports, at the moment i have a terminal connection open on both comm1 and comm2. I can send text from one screen the next using these.

What i would like to do (to start with) is to be able to send text so the terminal on the other port displays it, and vice-versa. The MScomm32.ocx example works fine but its in c++ where i am doing this in VB.net. I have looked at some examples mentioned on previous threads but cant seem to get them working. The closest was

http://www.corradocavalli.cjb.net/

but when i copy the heading section of the code i have problems recognising rs232.


I know in VB6 you just drag on a MScomm objects - but .net doesnt have that. Could someone please help me?
 
Back
Top