FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Need Help With CodeJock.SkinFrameWork License
Posts: 67
Joined: Thu Jan 05, 2006 10:35 PM
Need Help With CodeJock.SkinFrameWork License
Posted: Thu Oct 30, 2008 10:48 PM

Does anyone know how to include the Codejock.SkinFramework.v12.0.2.lic file in your app.
Below is there description on how to do it.
Thanks Mike.

Description
Alternative for .lic file. Included primarily for non Visual Basic's developers.

Property type
Read-write property

Syntax (Visual Basic)

Public Property License() As String

Remarks

There are some situations that you may need to include the content of the LIC file in your control using the License property. You DO NOT include the actual LIC file. For example, if you are developing an ActiveX control for Internet Explorer, you will need to include the license information using the License property. The License property is located in the GlobalSettings class for each control.

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 "..\Codejock Software\ActiveX\Xtreme Suite\Bin" for the Xtreme Suite installation. This code should be placed in the Form_Initialize event of the main form.

The code below illustrates how to use the License property for each control used:

Example
[License Sample (Visual Basic)] This sample illustrates how to include the license information in your application.

Private Sub Form_Initialize()
CommandBarsGlobalSettings.License = "CommandBars Control Copyright (c) 2003-2005 Codejock Software" & vbCrLf & _
"PRODUCT-ID: XCB-ESD-ACTX-9600" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
DockingPaneGlobalSettings.License = "DockingPane Control Copyright (c) 2003-2005 Codejock Software" & vbCrLf & _
"PRODUCT-ID: XDP-ESD-ACTX-9600" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
PropertyGridGlobalSettings.License = "PropertyGrid Control Copyright (c) 2003-2005 Codejock Software" & vbCrLf & _
"PRODUCT-ID: XPG-ESD-ACTX-9600" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
ReportControlGlobalSettings.License = "Report Control Copyright (c) 2003-2005 Codejock Software" & vbCrLf & _
"PRODUCT-ID: XRC-ESD-ACTX-9600" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
SuiteControlsGlobalSettings.License = "Suite Controls Copyright (c) 2003-2005 Codejock Software" & vbCrLf & _
"PRODUCT-ID: XSP-ESD-ACTX-9600" & vbCrLf & "VALIDATE-CODE: XXX-XXX-XXX-XXX"
End Sub

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Need Help With CodeJock.SkinFrameWork License
Posted: Sat Apr 04, 2009 08:15 AM

Dear Mr.Mike,

Did you solve this problem ?.

I am unable to run the compiled application on a client PC ie on a PC which does not have CodeJock Setup installed. I assume that it is something related to the license key while calling the controls from FWH.

Regards

Anser

Posts: 67
Joined: Thu Jan 05, 2006 10:35 PM
Re: Need Help With CodeJock.SkinFrameWork License
Posted: Sun Apr 05, 2009 02:41 PM

No I did not.
Mike

Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Need Help With CodeJock.SkinFrameWork License
Posted: Mon Apr 06, 2009 06:28 AM

Dear Mr.Mike,

Thankyou for the reply

Regards

Anser

Continue the discussion