Consultor Eletrônico



Kbase P70861: Where to place the ActiveX license file (lpk) referenced by
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/8/2004
Status: Unverified

GOAL:

Where to place the ActiveX license file (lpk) referenced by the WebSpeed generated page

GOAL:

How to specify ActiveX license file in WebSpeed generated page

FIX:

Generating the html page from within the WebSpeed, which contains the
ActiveX object referenced in the <OBJECT> tag, can require to specify
the parameter named 'LPKPath' with the value of the path pointing to the
location of the license file.
The path to the license file needs to be relative which means that the
license file needs to be accessible from the same web server.
An example of the code:
{&out}
'<OBJECT CLASSID="clsid:12345678-C88D-11cf-B347-00AA00A28331"> ' skip
' <PARAM NAME="LPKPath" VALUE="/somedir/some.lpk"> ' skip
'</OBJECT> ' skip.
In this example '/somedir' is a virtual directory which points
to the physical directory containing the 'some.lpk' license file.