Print Page | Close Window

Calendar Popup License

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=6212
Printed Date: 27 November 2024 at 12:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Calendar Popup License
Posted By: jcollier
Subject: Calendar Popup License
Date Posted: 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?



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


Posted By: jcollier
Date 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")


Posted By: sserge
Date Posted: 31 January 2007 at 5:54am
The correct string is the following:

Set GS = CreateObject("Codejock.CalendarGlobalSettings.10.4.1")


--
WBR,
Serge


Posted By: jcollier
Date 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)


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


Posted By: jcollier
Date 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)


Posted By: jcollier
Date 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)


Posted By: jcollier
Date 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)


Posted By: apuhjee
Date Posted: 22 June 2007 at 5:12pm
We are programmers, right?  You could always write a simple method that reads those files for you



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