Hi Roger,
I'm trying to run TaskDialog.exe in \XCodeJock\Samples\SuiteControls\TaskDialog, but got a message saying CLSID is required for ActiveX Control.
Any ideas on what I should do? I'm still new with codejock and xcodejock
I'm using Codejock 16.3.1 if that's any help.
Best Regards,
Andy
SuiteControls in Sample folder
Re: SuiteControls in Sample folder
Hi, Andy.
Either add:
to the samples code (recompile) or set the environment variable "CODEJOCK_VERSION" to this value. With Windows 7 or later, you may set this in the registry (CURRENT_USER -> Environment). Restart computer.
Either add:
Code: Select all
CJ_Version("16.3.1")
Best regards,
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
Tom
"Did I offend you?"
"No."
"Okay, give me a second chance."
-
- Posts: 103
- Joined: Fri Sep 17, 2010 2:58 am
Re: SuiteControls in Sample folder
I've added "CODEJOCK_VERSION=16.3.1" in my environment variable, and some of the samples such as calendar and skinframework can run. But not SuiteControls samplesTom wrote:
Either add:
to the samples code (recompile) or set the environment variable "CODEJOCK_VERSION" to this value. With Windows 7 or later, you may set this in the registry (CURRENT_USER -> Environment). Restart computer.Code: Select all
CJ_Version("16.3.1")
For example in Skinframework.prg, I see this code:
Code: Select all
TEXT INTO cLicense WRAP
Skin Framework Control Copyright (c) 2003-2009 Codejock Software
PRODUCT-ID: Codejock.SkinFramework.ActiveX.v13.0
VALIDATE-CODE: GGE-OLD-QQR-EJS
ENDTEXT
oGlobalSettings := CreateObject('Codejock.SkinFrameworkGlobalSettings'+CJ_Version("16.3.1"))
oGlobalSettings:license := cLicense
Code: Select all
TEXT INTO cContent WRAP
Name: <a href="http://donnay-software.com/XCodeJock.htm">XCodeJock Pro</a>
Publisher: <a href="http://donnay-software.com">Donnay Software Designs</a>'
ENDTEXT
Best Regards,
Andy
Re: SuiteControls in Sample folder
Andy -
You don't need to add the oGlobalSettings object.
I'm not even sure why I put that in the SkinFramework sample.
I wrote this stuff a long time ago.
The SkinFramework sample still works even if you comment it out.
Roger
You don't need to add the oGlobalSettings object.
I'm not even sure why I put that in the SkinFramework sample.
I wrote this stuff a long time ago.
The SkinFramework sample still works even if you comment it out.
Roger
The eXpress train is coming - and it has more cars.
-
- Posts: 103
- Joined: Fri Sep 17, 2010 2:58 am
Re: SuiteControls in Sample folder (SOLVED)
Hi all,
It's as simple as adding CJ_Version("16.3.1") to make it work, just like what Tom said.
Thanks for pointing me to right direction
Best Regards,
Andy
It's as simple as adding CJ_Version("16.3.1") to make it work, just like what Tom said.
Thanks for pointing me to right direction
Best Regards,
Andy