Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Registering license
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Registering license

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


Joined: 16 June 2014
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Leonard Quote  Post ReplyReply Direct Link To This Post Topic: Registering license
    Posted: 16 June 2014 at 2:44pm
I have been using codejock version 13.3.1.ocx in a VB6 application.
I'm using only the pushbutton.
works fine in windows 7 and vista and XP.

I then upgraded to codejock 16.3.1.ocx thinking this would work in a windows8 environment.

I get an error massage as follows:

I did find where I need to include license information inside my vb6 app.

i tried this: (had no success)

 SuiteControlsGlobalSettings.License = "Report Control Copyright (c) 2003-2014 Codejock Software" & vbCrLf & _
                                     "PRODUCT-ID: Codejock.Controls.ActiveX.v16.3" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"

if I try to compile I get this message:
error 91 object variable not set.

Could someone please guide me to what I am missing?
Thank you

application developer
www.ansintech.com
Back to Top
phainge View Drop Down
Groupie
Groupie
Avatar

Joined: 03 July 2009
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote phainge Quote  Post ReplyReply Direct Link To This Post Posted: 01 August 2014 at 7:27am
We had the same problem when upgrading to version 16.3.1. You first need to create an instance of the global settings object, then set the license information via that object - here's what we did:

Dim objSettings As New XtremeSuiteControls.SuiteControlsGlobalSettings

objSettings.License = "Suite Controls Copyright (c) 2003-2013 Codejock Software" & vbCrLf & _
"PRODUCT-ID: Codejock.Controls.ActiveX.v16.3" & vbCrLf & _
"VALIDATE-CODE: XXX-XXX-XXX-XXX"

Remember to replace the "XXX" values with your own license code. Also the above code needs to be placed in the form load event.
Xtreme SuitePro (ActiveX) 15.1.3
Windows 7 Pro (64bit) SP1
Visual Basic 6.0 SP4
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.125 seconds.