In your HTML page, you insert an <OBJECT> tag, specifying the ClassID of the Internet Explorer license manager object, in addition to the <OBJECT> tag for the licensed controls that you're using on an HTML page.
For example, using our “Sample1” HTML page, you would:
Run the LPK_TOOL,
Add the two licensed controls that are used on the form (ctBanner and ctClock),
Save it out to Sample1.LPK.
Add an <OBJECT> reference for the LPK file to your HTML code.
The LPK’s <OBJECT> tag should look like the following in your HTML page:
<object CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331">
<param name="LPKPath" value="sample1.LPK">
</object>
Note the following important restrictions:
The CLSID in the example above does not change. It is the CLSID for the IE license manager.
You need only change only the “VALUE” parameter to the name of your particular LPK file (assuming the LPK file is in the same folder as the HTML page that references it). Or you may enter a relative path to the LPK file in the “VALUE” parameter.
The LPK <OBJECT> reference must be the first <OBJECT> tag in the HTML page.
You may only issue one LPK <OBJECT> reference per page. When building your LPK file for a page, include all the licensed objects that will be used on that page within the one LPK file.