You may find this helpfull
http://fox.wikis.com/wc.dll?Wiki~MsComm32~VFP.
>Hi,
>
>My application need access to COM port, so I think of
>having my own class with MSComm control insteads
>of having to add the MSComm control on my form.
>
>How do I do that ? What should I subclass MSComm
>based on what ? OleControl or custom
>
>Please advise as I new to this area.
>Thank you
--sb--