![]() |
Calendar Popup License |
Post Reply
|
| Author | |
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Topic: Calendar Popup LicensePosted: 24 January 2007 at 2:46pm |
|
I am having trouble getting the Calendar Popup to work on production machines without the .lic file being present. If I take away the .lic file I get Cant' Create Object.
CJ 10.4.1 Is this expected behavior? |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 January 2007 at 2:50pm |
|
Hi,
In this case please create CalendarGlobalSettings using CreateObject and set a licence text. Then create DatePicker object. -- WBR, Serge |
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 30 January 2007 at 5:38pm |
|
I tried the following but still got the same error. I'm sure I just don't have the syntax exactly right.
Dim GS As CalendarGlobalSettings Set GS = CreateObject("Codejock.CalendarGlobalSettings") |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 31 January 2007 at 5:54am |
|
The correct string is the following:
-- WBR, Serge |
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 February 2007 at 3:20pm |
|
Following code still does not work without the presence of the Codejock.Calendar.v10.4.2.lic file. Please help.
Dim pDatePicker Dim GS As CalendarGlobalSettings Set GS = CreateObject("Codejock.CalendarGlobalSettings.10.4.2") GS.License = "Calendar Control Copyright (c) 2003-2006 Codejock Software" + vbCrLf + "PRODUCT-ID: Codejock.Calendar.ActiveX.v10.4" + vbCrLf + "VALIDATE-CODE: XXX-XXX-XXX-XXX" Set pDatePicker = CreateObject("Codejock.DatePicker." + GS.Version) |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 February 2007 at 5:45am |
|
Hi,
Looks like "2003-2006" is not a correct string. 2007 is better Please open lic file and copy strings from there. -- WBR, Serge |
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 June 2007 at 4:12pm |
|
Ok, this is crazy. EVERY time we upgrade I have this problem. Copying the string from the .lic file is not working.
Here is my code: Set GS = CreateObject("Codejock.CalendarGlobalSettings.11.1") GS.License = "Calendar Control Copyright (c) 2003-2007 Codejock Software" + vbCrLf + "PRODUCT-ID: Codejock.CalendarControl." + CalendarGlobalSettings.Version + vbCrLf + "VALIDATE-CODE: XXX-XXX-XXX-XXX" Set pDatePicker = CreateObject("Codejock.DatePicker." + GS.Version) |
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 June 2007 at 4:15pm |
|
I've also tried:
Set GS = CreateObject("Codejock.CalendarGlobalSettings.11.1.3") GS.License = "Calendar Control Copyright (c) 2003-2007 Codejock Software" + vbCrLf + "PRODUCT-ID: Codejock.CalendarControl." + CalendarGlobalSettings.Version + vbCrLf + "VALIDATE-CODE: XXX-XXX-XXX-XXX" Set pDatePicker = CreateObject("Codejock.DatePicker." + GS.Version) |
|
![]() |
|
jcollier
Senior Member
Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 June 2007 at 4:41pm |
|
Ok this works. It sure would be nice to not have to change this code every single time we upgrade.
Set GS = CreateObject("Codejock.CalendarGlobalSettings.11.1.3") GS.License = "Calendar Control Copyright (c) 2003-2007 Codejock Software" + vbCrLf + "PRODUCT-ID: Codejock.Calendar.ActiveX.v11.1" + vbCrLf + "VALIDATE-CODE: XXX-XXX-XXX-XXX" Set pDatePicker = CreateObject("Codejock.DatePicker." + GS.Version) |
|
![]() |
|
apuhjee
Senior Member
Joined: 02 September 2005 Location: United States Status: Offline Points: 130 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 June 2007 at 5:12pm |
|
We are programmers, right? You could always write a simple method that reads those files for you
|
|
![]() |
|
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 |