Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with ACTIVEX - VB6

Status
Not open for further replies.

nospace52

Technical User
Jan 28, 2003
27
0
0
US
I have put together a ACTIVEX and Packaged the .ocx - I have a ADODC1 - MSADODC.OCX and DataGrid control on the User Control. I also did a .lpk file ussing the LPK_TOOL.EXE in the same directory as my server for the web page. When the package was built it did a .HTML file:
===========================================================
<HTML>
<HEAD>
<TITLE>out_today.CAB</TITLE>
</HEAD>
<BODY>
<!-- If any of the controls on this page require licensing, you must
create a license package file. Run LPK_TOOL.EXE to create the
required LPK file. LPK_TOOL.EXE can be found on the ActiveX SDK,
If you have the Visual
Basic 6.0 CD, it can also be found in the \Tools\LPK_TOOL directory.

The following is an example of the Object tag:

<OBJECT CLASSID=&quot;clsid:5220cb21-c88d-11cf-b347-00aa00a28331&quot;>
<PARAM NAME=&quot;LPKPath&quot; VALUE=&quot;outtoday.LPK&quot;>
</OBJECT>
-->

<OBJECT ID=&quot;out_today&quot;
CLASSID=&quot;CLSID:765553AE-C478-4C9D-A19C-D529F194990E&quot;
CODEBASE=&quot;out_today.CAB#version=1,0,0,0&quot;>
</OBJECT>
</BODY>
</HTML>
===========================================================
I have looked on the web for how to register the ActiveX - alot of it has to do with the CLASSID's.

Where or how do I put the information in the web page so
when a user access the page the ACTIVEX would register on their PC ?
The MSADODC.OCX has a clsid={67397AA3-7FB1-11D0-B148-00A0C922E820} and the
MSDATGRD.OCX has a clsid={CDE57A43-8B86-11D0-B3C6-00A0C90AEA82} which is off of the .inf file when the package is built.

Thanks

< I want to work in Theory - everything and everybody works in Theory !!>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top