Print Page | Close Window

Registering license

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=22326
Printed Date: 02 December 2024 at 4:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Registering license
Posted By: Leonard
Subject: Registering license
Date 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



Replies:
Posted By: phainge
Date 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



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