Alaska Software Inc. - Codejock sample
Username: Password:
AuthorTopic: Codejock sample
Chris AndriesCodejock sample
on Mon, 08 Dec 2008 11:06:44 +0100
Hi,
I'm trying a sample with an activex from Codejock. It is working on the PC
of Roger Donnay, but it won't work on mine. I don't have problems with other
activex components as RMchart.

I can use the same activex with VB, but not with Xbase++, so I assume the
ocx is correctly registered. I get the following xpperror.log.

----------------------------------------------------------------------------
--
ERROR LOG of "C:\alaska\EXP19\Samples\codejock\DATEPICKER.EXE" Date:
12/08/2008 08:59:10
Xbase++ version     : Xbase++ (R) Version 1.90.347
Operating system    : Windows XP 05.01 Build 02600 Service Pack 2
----------------------------------------------------------------------------
--
oError:args         :
          -> VALTYPE: U VALUE: NIL
          -> VALTYPE: U VALUE: NIL
          -> VALTYPE: U VALUE: NIL
          -> VALTYPE: U VALUE: NIL
          -> VALTYPE: U VALUE: NIL
          -> VALTYPE: L VALUE: .T.
oError:canDefault   : Y
oError:canRetry     : N
oError:canSubstitute: Y
oError:cargo        : NIL
oError:description  : Could not create ActiveX control
oError:filename     : NIL
oError:genCode      :       6503
oError:operation    : XBPACTIVEXCONTROL:CREATE
oError:osCode       : NIL
oError:severity     :          2
oError:subCode      :       6500
oError:subSystem    : Automation
oError:thread       :          1
oError:tries        : NIL
----------------------------------------------------------------------------
--
CALLSTACK:
----------------------------------------------------------------------------
--
Called from DC_XBPACTIVEXCONTROL:CREATE(4987)

Any suggestion to get this working or possible cause of the error is
welcome.

Regards,
Chris Andries
AUGE_OHRRe: Codejock sample
on Mon, 08 Dec 2008 18:08:33 +0100
hi,

which Express++ Version ?

> I can use the same activex with VB, but not with Xbase++, so I assume the
> ocx is correctly registered. I get the following xpperror.log.

which *.OCX are you using ? what CLSID do you use ?

greetings by OHR
Jimmy
chris andries Re: Codejock sample
on Mon, 08 Dec 2008 22:05:34 +0100
Hi,

I had another version of the OCX, which was causing the error.

I'm looking for a way to get the CLSID from an OCX. Are you using a tool 
for it?

Best regards,
Chris Andries


"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> wrote in
news:44b2c0aa$61cf25f0$518@news.alaska-software.com: 

> hi,
> 
> which Express++ Version ?
> 
>> I can use the same activex with VB, but not with Xbase++, so I assume
>> the ocx is correctly registered. I get the following xpperror.log.
> 
> which *.OCX are you using ? what CLSID do you use ?
> 
> greetings by OHR
> Jimmy
> 
> 
> 
>
Mark SergentRe: Codejock sample
on Mon, 08 Dec 2008 13:15:28 -0800
On Mon, 08 Dec 2008 22:05:34 +0100, chris andries wrote:

> Hi,
> 
> I had another version of the OCX, which was causing the error.
> 
> I'm looking for a way to get the CLSID from an OCX. Are you using a tool 
> for it?
> 
> Best regards,
> Chris Andries
> 
> 
> "AUGE_OHR" <AUGE_OHR*AT*WEB.DE> wrote in
> news:44b2c0aa$61cf25f0$518@news.alaska-software.com: 
> 
>> hi,
>> 
>> which Express++ Version ?
>> 
>>> I can use the same activex with VB, but not with Xbase++, so I assume
>>> the ocx is correctly registered. I get the following xpperror.log.
>> 
>> which *.OCX are you using ? what CLSID do you use ?
>> 
>> greetings by OHR
>> Jimmy
>> 
>> 
>> 
>>

You can use a free utility called ComLicenseFinder. It will show you the
CLSID and License information for controls installed on your machine.

http://www.codeproject.com/KB/COM/ObtainActiveXLicenceInfo.aspx

Mark Sergent
InnSource Solutions Inc.
mark@innsourcesolutions.com
AUGE_OHRRe: Codejock sample
on Tue, 09 Dec 2008 04:41:01 +0100
Hi,

> I had another version of the OCX, which was causing the error.

this is why im asking which *.OCX you use. look into your Source
for CLSID is it {20DD1B9E-87C4-11D1-8BE3-0000F8754DA1}
or  ProgID "MSComCtl2.DTPicker" so you must use MSCOMCT2.OCX
which is not Part of normal M$ Windows Install.

you can search on you Xbase++ v1.9 Install CD-ROM for XbpDPick.ZIP
or search at MSDN.

> I'm looking for a way to get the CLSID from an OCX.
> Are you using a tool  for it?

if *.OCX is Proper registerd i use XppFD.EXE.
just choise from Listbox a ActiveX and dragdrop it ito Form.
Now generate Class Code and look into Source 

! Note : for VISTA you may need :license too, so enable it in XPPFD.EXE

greetings by OHR
Jimmy
Roger DonnayRe: Codejock sample
on Wed, 10 Dec 2008 09:02:34 -0700
Chris -

I think we determined that you were using a different version of CodeJock 
than I was.
From now on, my samples will use the license number as the CLSID.

Roger

"chris andries" <chris_at_aboservice_dot_be> wrote in message 
news:Xns9B6EE0BD45474chrisaboservicebe@80.154.33.133...
> Hi,
>
> I had another version of the OCX, which was causing the error.
>
> I'm looking for a way to get the CLSID from an OCX. Are you using a tool
> for it?
>
> Best regards,
> Chris Andries
>
>
> "AUGE_OHR" <AUGE_OHR*AT*WEB.DE> wrote in
> news:44b2c0aa$61cf25f0$518@news.alaska-software.com:
>
>> hi,
>>
>> which Express++ Version ?
>>
>>> I can use the same activex with VB, but not with Xbase++, so I assume
>>> the ocx is correctly registered. I get the following xpperror.log.
>>
>> which *.OCX are you using ? what CLSID do you use ?
>>
>> greetings by OHR
>> Jimmy
>>
>>
>>
>>
>