![]() |
Calendar Popup License |
Post Reply ![]() |
Author | |
apuhjee ![]() Senior Member ![]() ![]() Joined: 02 September 2005 Location: United States Status: Offline Points: 130 |
![]() ![]() ![]() ![]() ![]() Posted: 22 June 2007 at 5:12pm |
We are programmers, right? You could always write a simple method that reads those files for you
![]() |
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
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) |
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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) |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
The correct string is the following:
-- WBR, Serge |
|
![]() |
|
jcollier ![]() Senior Member ![]() Joined: 15 February 2006 Status: Offline Points: 250 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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? |
|
![]() |
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 |