Page 1 of 1

Need Help With CodeJock.SkinFrameWork License

Posted: Thu Oct 30, 2008 10:48 pm
by Mike Buckler
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

Re: Need Help With CodeJock.SkinFrameWork License

Posted: Sat Apr 04, 2009 8:15 am
by anserkk
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

Re: Need Help With CodeJock.SkinFrameWork License

Posted: Sun Apr 05, 2009 2:41 pm
by Mike Buckler
No I did not.
Mike

Re: Need Help With CodeJock.SkinFrameWork License

Posted: Mon Apr 06, 2009 6:28 am
by anserkk
Dear Mr.Mike,

Thankyou for the reply

Regards

Anser