Comm 1

S

stark

Sorry if this is up there twice but I did not see it the up so. Here goes again.
I can't get comm1 to open and here is the code that I am useing. I just keep getting errors. Again sorry if this is up twice

Private Sub CommandButton1_Click()
Dim a As Boolean
a = False
a = CheapComm1.OpenCommPort(“COM1â€, "9600,n,8,1")
If a = True Then
MsgBox "open"
End If
If a = False Then
MsgBox "error"
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top