Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 22074

Communictaion Port

$
0
0
Hi

Can some one explain me the functioning of these lines . Mainly these lines

Buffer = MSComm1.Input
Debug.Print "Receive - " & StrConv(Buffer, vbUnicode)

If comm1.PortOpen Then
comm1.PortOpen = True
Buffer = 0
comm1.InputLen = 11
Buffer = MSComm1.Input
Debug.Print "Receive - " & StrConv(Buffer, vbUnicode)
Else
comm1.PortOpen = True
Buffer = 0
comm1.InputLen = 11
Buffer = comm1.Input
End If

Thanks

Viewing all articles
Browse latest Browse all 22074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>