bb.donnay-software.com

Donnay Software Web Forums
It is currently Sat Aug 17, 2019 2:17 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Sep 26, 2014 12:12 am 
Offline

Joined: Fri Sep 17, 2010 2:58 am
Posts: 103
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


Top
 Profile  
 
PostPosted: Fri Sep 26, 2014 3:43 am 
Offline
User avatar

Joined: Thu Jan 28, 2010 12:59 am
Posts: 742
Location: Berlin, Germany
Hi, Andy.

Either add:

Code:
CJ_Version("16.3.1")


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.

_________________
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."


Top
 Profile  
 
PostPosted: Sun Sep 28, 2014 7:49 pm 
Offline

Joined: Fri Sep 17, 2010 2:58 am
Posts: 103
Tom wrote:

Either add:

Code:
CJ_Version("16.3.1")


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.


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 samples

For example in Skinframework.prg, I see this code:

Code:
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


For TaskDialog.prg, I only see this:

Code:
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


So no oGlobalSettings in TaskdDialog.prg. Is there any specific code that I have to add?

Best Regards,

Andy


Top
 Profile  
 
PostPosted: Mon Sep 29, 2014 11:55 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 3957
Location: Boise, Idaho USA
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

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
PostPosted: Mon Sep 29, 2014 6:54 pm 
Offline

Joined: Fri Sep 17, 2010 2:58 am
Posts: 103
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group