I have set the com port as new rs232, this is the code i wrote "Private m_CommPort As New Rs232" but when i compile it say rs 232 is not defined, wat is the code shld i write to define it?
Printable View
I have set the com port as new rs232, this is the code i wrote "Private m_CommPort As New Rs232" but when i compile it say rs 232 is not defined, wat is the code shld i write to define it?
Where does "rs232" come from?
Put an MSCOMM control on your form. Look in the help file for sample code - they have pretty good samples for sending and receiving data. You could just copy those routines and change what you need (COM port, speed, etc.)