Hi,

In my windows application I am using Mscomm32.ocx control for serial communication.

I set the control properties like below in the Form1_Load event.

AxMSComm1.CommPort = 1
AxMSComm1.Settings = "9600,N,8,1"
AxMSComm1.InputLen = 0
AxMSComm1.PortOpen = True
AxMSComm1.SThreshhold=1
AxMSComm1.RThreshhold=1

I did the same way as mentioned in the following link.

http://support.microsoft.com/kb/139526/en-us

But I am getting the following error when I try to write data to a serial port using output method.

AxMSComm1.Output {"Exception from HRESULT: 0x800A018A (CTL_E_GETNOTSUPPORTED)"} Object

Please tell me why I am getting this error and how to resolve this???

Thanks in advance.