Distribution procedure |
Post Reply |
Author | |
tigersolv
Newbie Joined: 18 October 2010 Location: UK Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 18 October 2010 at 10:25am |
Hi, we are using SkinFramework in our VB6 app (yes! VB6!). The spec requires that I am able to disable skinning via a software registry flag (in case of crashes etc), i have implemented this by wrapping the OCX in an OCX of my own that uses CreateObject instead of a reference and control on a form. This all works great on my machine. However the only way i can get it to work on a test client pc is to use Registrator.exe to register the OCX. I really don't want to do this as we have our own silent installer and Registrator requires the user to click a button to continue. Does anyone know the 'correct' way to silently distribute SkinFramework OCX onto a client PC? I have tried REGSVR32 and it seemed to work but when the object is created it just gives ActiveX error 91. |
|
Baldur
Senior Member Joined: 22 November 2006 Location: Germany Status: Offline Points: 244 |
Post Options
Thanks(0)
|
CreateObject needs a registred class-id.
regsrv32 does this for you.
If you write an own control/exe without including the CJ's controls in a form, the licenses are not included and not distributed. You have to use the licenses-methods (VB6) or redistribute the licenses-files from CJ directory to your application directory.
Be aware that no other applications/developers can than work with the controls.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |