"Port Device not working"
in my code for telephone dialer, when the form loads
visual basic code:
Private Sub Form_Load()
MSComm1.CommPort = 3
MSComm1.Settings = "9600,N,8,1"
MSComm1.PortOpen = True
End Sub
gives an error
Code:
Run time error '8012':
"The device is not open"
please help
Regards
Mohit
Re: "Port Device not working"
Keeping it basic>
Be sure you actually do have a com 3 on your computer and second that it isn't in use by something else.
Re: "Port Device not working"
ya, i do have a com 3 on my comp and i have compiled the code before,but after making few changes in the interface,its not working now