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