B
Barry Martin
I am using an activex control mscomm to control a serial
port in VB.NET. I place the control on the main form and
set its port, baud rate, etc. properties. After creating
a code module that needs to access the serial port, I
cannot seem to be able to access the mscomm control from
within a code module. In VB6 you could use the statement
frmMain.Mscomm1.output = "some data string" in the code
module but this won't work in VB.NET. Does anyone know
the correct syntax to send data to an mscomm activex
control located on a form from a code module?
Thanks for any help,
Barry
port in VB.NET. I place the control on the main form and
set its port, baud rate, etc. properties. After creating
a code module that needs to access the serial port, I
cannot seem to be able to access the mscomm control from
within a code module. In VB6 you could use the statement
frmMain.Mscomm1.output = "some data string" in the code
module but this won't work in VB.NET. Does anyone know
the correct syntax to send data to an mscomm activex
control located on a form from a code module?
Thanks for any help,
Barry