hi All,
i need help regarding to my probs.
I have to transfer a text file through serial port (COM1 ) to other connected end (system)
Give me some idea about this. I am newer to VB so plz help me as soon as possbile.
Printable View
hi All,
i need help regarding to my probs.
I have to transfer a text file through serial port (COM1 ) to other connected end (system)
Give me some idea about this. I am newer to VB so plz help me as soon as possbile.
you will have to use an API function to open the port. The file you want to send have to be converted to array of bytes , on the other side this array of bytes has to be returned to its original form.
I can give you the code that handles the serial port opening and closing
and some code for reading and writing data to it but it is in C++
Use the MSComm control. All the code you need is in the help file examples (MSComm and OnComm.)