I made a activex in which I used MSComm control to communicate through COM1.
I found my control cannot work properly when I only adopt mycontrol .ocx
file like this:
<object id="myctl" classid="clsid:09464551-94D1-4F46-9B86-AD50405068B6"
codebase="./myctl.ocx#Version=-1,-1,-1,-1"></object>
This control even cannot be displayed even though I choose "Yes" in the
prompt for answering it whether or not to install the control.
Hi,
This is the HTML that I use for NETComm.ocx (from my homepage). NETComm is,
esentially what you are trying to do - a wrapper for MSComm, and I provide
the source code for it as part of the download:
<object classid="clsid:53867031-6B4D-4F7D-B089-5DFEC731F5FA" id="NETComm1">
Note, the differences.

Signature
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.