Print Page | Close Window

License for Dynamic loading OCX

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=505
Printed Date: 10 May 2024 at 1:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: License for Dynamic loading OCX
Posted By: jiri
Subject: License for Dynamic loading OCX
Date Posted: 09 March 2004 at 3:20am

How can I add license for Codejock controls placed on my own dynamic loaded OCX component? (VB6)

It works only on PC with installed Codejock Suite (developer's PC)

 

Thanks for answer

Jiiri




Replies:
Posted By: Oleg
Date Posted: 09 March 2004 at 9:14am
You only need to add reference to Xtreme Suite Controls. lic file will be included automatically.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jiri
Date Posted: 09 March 2004 at 9:26am

I have no problem with CJ components, that are placed "directly" to form in design mode. Also I have no problem with CJ components, that are placed "directly" to my own OCX in design mode.

Problem with license is in this situation:

I have 2 my ActiveX controls (a.ocx and b.ocx)

a.ocx contain CodeJock Component

b.ocx contain a.ocx

b.ocx is loaded in runtime

      Set frm.x = frm.Controls.Add("ClassNameofB_ocx", "objName")
      Set frm.PrivateInt = frm.x.object
      frm.x.Visible = True

In this case is probem with license.

Thanks for answer

jiri

 

 



Posted By: SuperMario
Date Posted: 20 October 2004 at 8:09am
Maybe you could try this:

Each of the controls now have a "License" property where you can load the license information in your program.

CommandBarsGlobalSettings.License = "Line 1" & vbCrLf & "Line 2" & vbCrLf & "Line etc..."
SuiteControlsGlobalSettings.License = "Line 1" & vbCrLf & "Line 2" & vbCrLf & "Line etc..."
etc...

The "License" property is a string that holds the lines of text of the corresponding license file.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net