10106 : phGantTimePackage .ocx where or how can I get the cab file?

Question

I have a problem with the phGantTimePackage .ocx control and my .aspx page. I added the phGantTimePackage .ocx into my .aspx page and all works fine if I open this page on my computer. But when I try to open this page on another computer I have a problem – the ocx control doesnt show. As I understand, if I want to use ocx I need to add codebase attribute and specify the path to the cab file. But where or how can I get this cab file? Do I need to buy the phGantTimePackage product?

Answer

Yes you need a cab file, and yes you need a developer license to to be allowed to deploy the solution. You do not need a license per client of course. You can produce a cab file yourself with the standard tools provided by microsoft or you can use ours. To control licensing for IE-integrated ocx’s an lpk file is used. You need to produce this as-well from the lic file or use ours.

This would be the syntax even if this uses an older version;

<OBJECT CLASSID = “clsid:5220cb21-c88d-11cf-b347-00aa00a28331”>
   <PARAM NAME=”LPKPath” VALUE=”phGantX.lpk”>
</OBJECT>

<OBJECT
   classid=”clsid:1A9D2E1D-63A4-11D3-9EC5-5C91AD000000″
   codebase=”https://plexityhide.com/test/phGantXControl.cab#version=2.1.4.4
   width=850
   height=400
   align=center
   hspace=0
   vspace=0
   id=phGantX1
>
</OBJECT>

If you want to use our cab we can send it to, simply email support with the request (registred users only, please provide license name)

The lpk files you will find the samples/activex/asp folder.

Leave a Reply