Comm1 not opening

S

Stark

Here is my problem I can't get comm 1 to open here is what I have so far and I just keep getting an error saying comm1 not open. Anyone have an idea?


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