How to use LIC files in HTML


 

Because HTML applications are not compiled, another scheme has been devised to distribute licensed controls to non-licensed systems. Rather, license information is packaged into a “License Package” file (LPK).

 

For example, if a licensed control was used in the development of a VB6 form, the HTML page using the control will load properly on the computer where the licensed control was used, but it will not load on a different computer unless licensing information is included with the HTML.

 

To use licensed controls in an HTML page on a non-licensed computer, you must generate a license package file (LPK). The LPK file contains the runtime licenses for licensed controls in the HTML page. Lpk_tool.exe, which comes with the Internet Client SDK, generates this file.

 

The LPK file resides on the server with the HTML page that uses the control(s) and is referenced as an <OBJECT> reference within the HTML page.

 

You can download the License Packaging (LPK) Tool through the Microsoft Web site http://msdn.microsoft.com/downloads/tools/lpktool/lpktool.asp

 

Note:  To use a licensed ActiveX control in Internet Explorer, you need to check the vendor's license agreement to verify that the license for the control permits:

In the case of DBI Technologies licensed components, OCX files from DBI Technologies can be freely distributed to all your client systems. There are no royalty requirements. Rather, each developer that uses our products is required to have a licensed version of our software. Licensed software from DBI Technologies includes *.LIC files (license) for each OCX; these permit development with the controls in the development environment.

 

Your software-license agreement permits you to distribute the OCX files to an unlimited number of computers so long that: