Results 1 to 5 of 5

Thread: Problem with MSComm port

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2015
    Posts
    1

    Problem with MSComm port

    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: 4097
Size:  45.1 KB

    code that im using >>>

    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
    Last edited by kandaiiskandar; Oct 17th, 2015 at 11:40 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width