Print Page | Close Window

DatePicker Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4509
Printed Date: 17 November 2024 at 7:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DatePicker Problem
Posted By: jcollier
Subject: DatePicker Problem
Date Posted: 28 June 2006 at 5:28pm
Using the DatePicker Sample, the Click Here part in the top right corner on works like a champ on my development machine.  However, when I create an exe from that project and put it on a production machine with the Calendar control registered, I get runtime 429.  ActiveX couldn't create object.

Please help.  I'm at a standstill.

Thanks!



Replies:
Posted By: jcollier
Date Posted: 29 June 2006 at 3:45pm
Any ideas for this?  If I need to provide more detail, please let me know what you need.

Thanks!


Posted By: SuperMario
Date Posted: 29 June 2006 at 3:51pm
Possibly a license issue?  Or maybe you have an old version of the OCX on your build machine and are creating the date picker with the old version?  Can you post the code?


Posted By: jcollier
Date Posted: 29 June 2006 at 3:56pm
No need to post the code, it's the VB 6 DatePicker Sample supplied by CJ.  It works fine on my build machine but does not work on any production machines.  The production machine that I am testing with has never had any codejock controls installed on it.


Posted By: SuperMario
Date Posted: 29 June 2006 at 4:02pm
You use this code?

Dim pDatePicker
    Set pDatePicker = CreateObject("Codejock.DatePicker." + XtremeCalendarControl.Version)

What is the client machine so I can test


Posted By: SuperMario
Date Posted: 29 June 2006 at 4:14pm
Ok, I found the reason, you need the license to use createobject:

Dim pDatePicker
    XtremeCalendarControl.License = "Calendar Control Copyright (c) 2003-2006 Codejock Software" & vbCrLf & "PRODUCT-ID: Codejock.Calendar.ActiveX.v10.2" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
    Set pDatePicker = CreateObject("Codejock.DatePicker." + XtremeCalendarControl.Version)


Posted By: jcollier
Date Posted: 29 June 2006 at 4:20pm
Great.  Do I literally use the XXX-XXX-XXX-XXX or should I replace that with some value?  If I need a value, where do I get it?

Thanks again.


Posted By: SuperMario
Date Posted: 29 June 2006 at 4:23pm
No, not the XXX.  That was omitted on purposeWink

See this link for all the details, but in your case you can leave the code where I posted it.

http://www.codejock.com/support/articles/com/general/g_3.asp

From the article:

"You will need to provide the correct Product Id and Validate Code. This information can be found in the LIC file. The LIC file is located in the same location as the OCX file. By default, the location of the OCX and LIC file is the "..\Program Files\Codejock Software\ActiveX\Xtreme SuitePro ActiveX 2006 Q2\bin" for the Xtreme Suite installation."


Posted By: jcollier
Date Posted: 29 June 2006 at 4:57pm
It works!  Thanks again for the help.



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