Hi Nguyen Xuan Huy,
you should describe what you want to do with MSComm OCX to get a precise answer.
To start with OLE:
OleObject lole_comm
TRY
lole_comm = CREATE OleObject
li_rc = lole_comm.ConnectToNewObject ("MSCOMMLib.MSComm")
// check return code
// use the OCX, e.g.
lole_comm.CommPort = 2
CATCH (OLERuntimeError errole)
// catch OLE errors
FINALLY
// Destroy
lole_comm.Disconnectobject ()
DESTROY lole_comm
END TRY
HTH,
René