"Kees Bakelaar" <kb*******@nimava.nl> wrote in message
news:41******@inaja.bit.nl...
Hi all,
This is not really a VB question, however, i am stuck a modem problem
The modem is connected to a cristie teleport with a speed of 9600 bps.
How can i set the modems DTE speed at fixed to 9600 bps ?
sometimes, the modem has a different DTE speed, i have to disconnect the
modem and connect it to a PC so it "learns" the 9600 bps speed.
I have try'd s23, s37, etc.
Hopefully somebodey has an answer.
Best Regards, Kees
MSComm1.CommPort = 1 'if COM 1
' 9600 baud, no parity, 8 data, and 1 stop bit.
MSComm1.Settings = "9600,N,8,1"
' Tell the control to read entire buffer when Input is used.
MSComm1.InputLen = 0
' Open the port.
MSComm1.PortOpen = True
' Send the attention command to the modem.
MSComm1.Output = "ATV1Q0" & Chr$(13)
I know it wasn't a VB question but I can only provide a VB solution