Hi, I had been wanting to translate my VB 6.0 MSCOMM syntax into Vb 2005.
Can someone give some advice?
codes on VB 6.0
If Comm1.PortOpen = False Then
Comm1.PortOpen = True
Comm1.DTREnable = True
Comm1.RTSEnable = True
Comm1.RThreshold = 1
Comm1.InputLen = 1
bOK = False
bError = False
Comm1.Output = "AT" & vbCrLf
Wait
I only changed Comm1.PorrtOpen=False into
Comm1.IsOpen = False for first line.
And
Comm1.PortOpen I replaced with Comm1.Open()
Thanks for your kind help!:p