OCX

Started by John Messingham, July 11, 2010, 02:47:09 PM

Previous topic - Next topic

Cho Sing Kum

#30
Oh yes, I missed out this point.

I have a 3rd party ActiveX DLL and another 3rd-party Win32 DLL that I must provide licensing info in my source code otherwise they remain in demo mode.

You probably need to do something similar.

In addition, I think your licensed ocx may be different from the demo ocx.

John Messingham

There used to be a requirement to pass the registration details to the grid but this was removed some time ago. If this was still the case it would be a non starter as I would need to create an instance of the grid in order to pass the details to it.
Many Thanks
John Messingham
http://www.jmds.co.uk

José Roca

No problem. Besides the ProgID, you will have also to pass the license key, e.g.

<ProgID>;RTLKEY:<license key>

Cho Sing Kum

There is another method of licensing OCX in VB6 with the use of a ".VBL" file that the OCX seller provide. This do away with putting license info in your source code.

This .VBL file will be used to write license info into the Registry of your development computer. When you compile your VB6 project, VB6 automatically include the license info into your compiled exe.

If FlexCell is using this method, then this may explain why your VB6 apps work on the target computer but not the FF/PB apps.

John Messingham

Cho,

This is where my thoughts have been. I am waiting to here back from the grid developers to see if this is what is happening. I would have expected a messasge from the grid but it is possible it simply does not work if the licence details are not present.
Many Thanks
John Messingham
http://www.jmds.co.uk

John Messingham

Big thank you to everyone for their input on this.

It turns out that a license code is needed in order to use the grid outside VB6 etc. I now have the code and the program works.
Many Thanks
John Messingham
http://www.jmds.co.uk

Jean-pierre Leroy

Hi John,

I tried today your sample FireFly project with the latest demo version of FlexCell.

I got a runtime error number '91' ?

Any idea ?

Thank,
Jean-Pierre