How do you send / receive data through a serial comm port?
I've got a palmpilot on Com1 running some custom comms software and I want to talk to it from VB.net or C#.
Printable View
How do you send / receive data through a serial comm port?
I've got a palmpilot on Com1 running some custom comms software and I want to talk to it from VB.net or C#.
All of it done through backside API... but free wrapped code classes are available here ..
http://www.codeworks.it/net/VBNetRs232.htm
http://www.freevbcode.com/ShowCode.asp?ID=4666
Excellent!
Thank you. :thumb:
or just reference Microsoft Communication Control and add one to your form and it takes care of most of the work for you.
Just in case you have problems with the COMM32 control from .NET:
You cannot reference the comm control and programmatically create an instance of the control in .NET. It will give you licensing errors when you deploy the program to the client. Whats more is there is no license for the control in any case.
So, you must add the comm control to a form to use it in .NET.