Quantcast
Channel: VBForums - COM and ActiveX
Viewing all articles
Browse latest Browse all 62

Problem with MSComm port

$
0
0
hi, im new with MSComm. I try to connect the com port with VB6.0. the problem i got is the vb say Invalid port number(8002). i already check the port number at Device manager any try connect any port available but still same. anybody know how to overcome my problem??

thank you

Name:  Captureefwef.jpg
Views: 104
Size:  45.1 KB

code that im using >>>
Quote:


Private Sub Form_Load()
MSComm1.RThreshold = 1
MSComm1.InputLen = 1
MSComm1.Settings = "9600,n,8,1"
MSComm1.CommPort = 40
MSComm1.InBufferSize = 16
MSComm1.InputLen = 10
MSComm1.DTREnable = False
MSComm1.PortOpen = True
End Sub

Private Sub Frame1_DragDrop(Source As Control, X As Single, Y As Single)

End Sub

Private Sub MSComm1_OnComm()

End Sub
Attached Images
 

Viewing all articles
Browse latest Browse all 62

Trending Articles



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