PDA

Click to See Complete Forum and Search --> : classid for activex?


jennylaw11
Mar 9th, 2007, 12:04 PM
hi,
i'm working on my first activex control and i've read instructions for putting it on the internet using html that say i need a class id. i've looked in the registry for the class id, but i have been unable to find it and i'm not really sure if i'm looking in the right place. let me know if you've done this before and can offer any advice.

thanks,
Jenny

dilettante
Mar 18th, 2007, 09:33 AM
The cleanest way to package an ActiveX control for use in a web page is to use the Package and Deployment Wizard. There is an option to create a web distribution package, which creates the .CAB file containing your OCX as well as a skeletal .HTM file that will contain an <OBJECT> tag with the information you want.

Be warned that if your project uses licensed controls it will also be necessary to create a License Package (.LPK) file. This is done using LPKTool.exe which should be on your CDs you installed VB from, or may also be downloadable from Microsoft.