Alaska Software Inc. - Deployment of Codejock app
Username: Password:
AuthorTopic: Deployment of Codejock app
Roger DonnayDeployment of Codejock app
on Tue, 17 Mar 2009 11:47:31 -0600
Bobby Drakos and I cannot get a simple SkinFramework application to
run on a terminal server.

We applied the license via GlobalSettings, but still no luck.

ComLicenceFinder reports that the OCX is properly registered.

Has anyone successfully deployed a CodeJock application on another computer
or server in which CodeJock had not been installed?
Clifford Wiernik Re: Deployment of Codejock app
on Tue, 17 Mar 2009 18:55:13 -0500
Roger Donnay wrote:
> Bobby Drakos and I cannot get a simple SkinFramework application to
> run on a terminal server.
> 
> We applied the license via GlobalSettings, but still no luck.
> 
> ComLicenceFinder reports that the OCX is properly registered.
> 
> Has anyone successfully deployed a CodeJock application on another computer
> or server in which CodeJock had not been installed?
> 
> 
> 
I don't know if this helps at all.  We utilize the x360software 
tifviewer activex control.  If we copied the required files specified to 
the directory and registered the ocx, it would not load, even though it 
said it was properly registered.  If we installed via the normal 
installation package, it worked just fine.  We had them provide a scaled 
down install that did not install the programming files.

Maybe it is something like this.

Or another thing we have seen with citrix and terminal services is that 
the application may be trying to open/access some files (maybe an ini 
file) in the windows or windows/system32 directory.  We had our credit 
bureau pulling 3rd party software do that.  We had to copy these files 
into the documents and settings\username\windows\... directory where the 
user has access to in a terminal services environment.

No specific experience with codejock at this point.
Clifford Wiernik Re: Deployment of Codejock app
on Tue, 17 Mar 2009 18:59:08 -0500
Clifford Wiernik wrote:
> Roger Donnay wrote:
>> Bobby Drakos and I cannot get a simple SkinFramework application to
>> run on a terminal server.
>>
>> We applied the license via GlobalSettings, but still no luck.
>>
>> ComLicenceFinder reports that the OCX is properly registered.
>>
>> Has anyone successfully deployed a CodeJock application on another 
>> computer
>> or server in which CodeJock had not been installed?
>>
>>
>>
> I don't know if this helps at all.  We utilize the x360software 
> tifviewer activex control.  If we copied the required files specified to 
> the directory and registered the ocx, it would not load, even though it 
> said it was properly registered.  If we installed via the normal 
> installation package, it worked just fine.  We had them provide a scaled 
> down install that did not install the programming files.
> 
> Maybe it is something like this.
> 
> Or another thing we have seen with citrix and terminal services is that 
> the application may be trying to open/access some files (maybe an ini 
> file) in the windows or windows/system32 directory.  We had our credit 
> bureau pulling 3rd party software do that.  We had to copy these files 
> into the documents and settings\username\windows\... directory where the 
> user has access to in a terminal services environment.
> 
> No specific experience with codejock at this point.
> 
> 
You could verify this by logging in as user that has access to the 
entire c: drive of the terminal server.  They the limitation on access 
to the windows directory would be elminated as a cause.  If it then 
works, it would be a security access issue that you would need to address.

We have the same problem with the Tif control and its thumbnail 
function.  I tries to create a temporary tiffthumbnail directory on the 
c: drive, which it cannot do so the functions fails.

Just some thoughts based on my citrix experience in our company.
Paulo GaitaRe: Deployment of Codejock app
on Sat, 18 Apr 2009 17:34:03 +0100
I am sorry I didn't spot this earlier, I use CodeJock SkinframeWork and have 
no trouble deploying it.

Just use Regsvr32 to register it and create it using the CLSID and license 
properties XbpActiveXControl.

I use this define for line breaks so I included it here, you can either use 
it or replace it with your own.

#ifndef NLINE
    #define NLINE (CHR(13) + CHR(10))
#endif

oSkin := XbpActiveXControl():new( , , {0,0}, {0,0})
oSkin:CLSID := "Codejock.SkinFramework.11.2.2"
oSkin:license := "Skin Framework Control Copyright (c) 2003-2007 Codejock 
Software" + NLINE + "PRODUCT-ID: Codejock.SkinFramework.ActiveX.v11.2" + 
NLINE + "VALIDATE-CODE: XXX-XXX-XXX-XXX"
oSkin:create()
oSkin:AutoApplyNewThreads := .t.
oSkin:AutoApplyNewWindows := .t.
oSkin:ApplyOptions := 7
oSkin:LoadSkin(_skinFile, _skinType)

The three lines for :license come from the .lic file that comes with the 
ActiveX component, just open it with notepad.

This should take care of this and any other ActiveX creation problems upon 
deployment, hope it can be of use to someone.

Best Regards,
Paulo Gaita

"Roger Donnay" <rogerdonnay@donnay-software.com> wrote in message 
news:245ab1d6$2aa4acd5$b90@news.alaska-software.com...
> Bobby Drakos and I cannot get a simple SkinFramework application to
> run on a terminal server.
>
> We applied the license via GlobalSettings, but still no luck.
>
> ComLicenceFinder reports that the OCX is properly registered.
>
> Has anyone successfully deployed a CodeJock application on another 
> computer
> or server in which CodeJock had not been installed?
>
>