has anybody used the MScomm control to get the serial data available on the port.

When I try to send some dataon MSCOMM.output command, it does not allow me( just to check that it works).

any ideas ?

Foll. is the code :

Private Sub Form_Load()
' Open the serial port
MSComm1.CommPort = 2
MSComm1.Settings = "9600,N,8,1"
MSComm1.PortOpen = True
Dim ss As Variant
ss = "a"
MSComm1.Output = ss
MSComm1.InputLen = 0
MsgBox MSComm1.Input
End Sub

Thanks