|
Internet Explorer uses a "License Package" or .LPK file to manage ActiveX control licensing. This file can be created with the lpk_tool.exe utility. The LPK Tool allows multiple components to be added into one license file and also allows for specification of the name and location for the resulting .LPK file.
Create an LPK file and add the following lines to your web pages: <!-- This LPK file contains licensing for SharpGrid. To create an LPK file with your license key, please use Microsoft's LPK_TOOL.EXE program.-->
<OBJECT "clsid:5220CB21-C88D-11cf-B347-00AA00A28331">
<PARAM NAME="LPKPath" VALUE="SharpGrid.lpk"> </OBJECT>
<!-- Change the CODEBASE value to point to the SharpGrid OCX on your server. Also, change the version number to match your version of the OCX file.-->
<OBJECT classid="clsid:3591A50E-18FD-42BC-8D10-6C93BDAF2DA0" id="SGGrid1" width="600" height="200" codebase="/downloads/SG20O.OCX#VERSION=2,0,0,1005" standby="Please wait while the SharpGrid control is loaded">
</OBJECT>
Note: SharpGrid's version and classid can be found in the “inf” file located in the SharpGrid cab file you are referencing.
Some additional information about this topic can be found in SharpGrid's FAQ. If you need further assistance, please feel free to submit a support request.
Applies To: SharpGrid 2.0
|