Hi, I am going around the twist here. Using the following I get a 'port already open' when I try to open the port. On the very next line I get a message saying 'operation is valid only when the port is open' If I try to close the port form the command line with PortOpen=.F. I get 'type mismatch' Can anybody tell me whats going on?
oCom = CREATEOBJECT("MSCOMMLib.MSComm")
oCom.CommPort = 1
oCom.Settings = "9600,N,8,1"
oCom.InputLen = 0
oCom.PortOpen=.T.
oCom.Output = "BRMR00000"
Garry.
oCom = CREATEOBJECT("MSCOMMLib.MSComm")
oCom.CommPort = 1
oCom.Settings = "9600,N,8,1"
oCom.InputLen = 0
oCom.PortOpen=.T.
oCom.Output = "BRMR00000"
Garry.