Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Controls / July 2008



Tip: Looking for answers? Try searching our database.

add mscomm in my activex?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adrian Chen - 18 Jul 2008 03:13 GMT
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.
Dick Grier - 18 Jul 2008 16:53 GMT
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.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.