I'm currently developing an application that utulizes the MSCOMM control. In my application, I'm transfering a file throught the serial port. I can send properly, but the recieving end does not work properly. I'm using the 'OnComm' event.
Printable View
I'm currently developing an application that utulizes the MSCOMM control. In my application, I'm transfering a file throught the serial port. I can send properly, but the recieving end does not work properly. I'm using the 'OnComm' event.
Yeah, that's not nice.
I use it in software, like:
Code:Dim S as String
'...
S=""
While (MSComm1.InBufferCount > 0)
S = S & MSComm1.Input 'if MSComm1.InputLen=1 ...
Wend
Debug.Print S
'...