Feb 25, 2005 #1 VicEllins Technical User Jan 28, 2005 4 US Attempting to dial the modem with: MSComm1.CommPort = 3 MSComm1.Settings = "9600,N,8,1" MSComm1.PortOpen = True MSComm1.Output = "ATDT" & A$ & vbCr I got a "compile error, Variable not defined" for the MSComm1. How do I define it?
Attempting to dial the modem with: MSComm1.CommPort = 3 MSComm1.Settings = "9600,N,8,1" MSComm1.PortOpen = True MSComm1.Output = "ATDT" & A$ & vbCr I got a "compile error, Variable not defined" for the MSComm1. How do I define it?
Feb 25, 2005 #2 Sheco Programmer Jan 3, 2005 5,457 US Um, if you are talking about the normal comm control then you just drop it onto your form and make sure its name is MSComm1. Upvote 0 Downvote
Um, if you are talking about the normal comm control then you just drop it onto your form and make sure its name is MSComm1.
Feb 26, 2005 Thread starter #3 VicEllins Technical User Jan 28, 2005 4 US I did that and it still says "Device not open". The nwe control is MSComm1_OnMSComm1 which I assume responds to incoming data. Upvote 0 Downvote
I did that and it still says "Device not open". The nwe control is MSComm1_OnMSComm1 which I assume responds to incoming data.