Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - License for Dynamic loading OCX
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

License for Dynamic loading OCX

 Post Reply Post Reply
Author
Message
jiri View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: Czech Republic
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote jiri Quote  Post ReplyReply Direct Link To This Post Topic: License for Dynamic loading OCX
    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

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jiri View Drop Down
Newbie
Newbie


Joined: 31 October 2003
Location: Czech Republic
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote jiri Quote  Post ReplyReply Direct Link To This Post 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

 

 



Edited by jiri
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.