Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Calendar Popup License
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Calendar Popup License

 Post Reply Post Reply
Author
Message
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post Topic: Calendar Popup License
    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?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post 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")
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 31 January 2007 at 5:54am
The correct string is the following:

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


--
WBR,
Serge
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
jcollier View Drop Down
Senior Member
Senior Member


Joined: 15 February 2006
Status: Offline
Points: 250
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcollier Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
apuhjee View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 September 2005
Location: United States
Status: Offline
Points: 130
Post Options Post Options   Thanks (0) Thanks(0)   Quote apuhjee Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2007 at 5:12pm
We are programmers, right?  You could always write a simple method that reads those files for you
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.156 seconds.