Print Page | Close Window

Error with license information

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=15215
Printed Date: 16 November 2024 at 2:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error with license information
Posted By: iamgtd
Subject: Error with license information
Date Posted: 21 September 2009 at 5:37am

In the setup for the Codejock ActiveX Controls there are samples included. The C# sample for the SkineFramework doesn't run on a machine if the CodeJock setup isn't installed. The error contains the description that the license information for an activeX-control is missing. I have tried to insert the licencse information into frmMain. But the error still occurs. If I'm copying the lic-file to the machine then it works.

Please help.

  public frmMain()
  {


            // SkinFramework
            XtremeSkinFramework.SkinFrameworkGlobalSettings skinFrameworkGlobalSettings = new XtremeSkinFramework.SkinFrameworkGlobalSettings();
            skinFrameworkGlobalSettings.License = "CommandBars Control Copyright (c) 2003-2009 Codejock Software"
                                                + Environment.NewLine + "PRODUCT-ID: Codejock.SkinFramework.ActiveX.v13.1"
                                                + Environment.NewLine + "VALIDATE-CODE: XXX-XXX-XXX-XXX";


   skinFramework = new AxXtremeSkinFramework.AxSkinFramework();
   ((System.ComponentModel.ISupportInitialize)(skinFramework)).BeginInit();
   this.Controls.Add(skinFramework);
   ((System.ComponentModel.ISupportInitialize)(skinFramework)).EndInit();

   skinFolder = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + " file://\\..\\..\\..\\..\\Styles\\ - \\..\\..\\..\\..\\Styles\\ ";
       
   skinFramework.LoadSkin(skinFolder + "Vista.cjstyles", "NormalBlack2.ini");


   //
   // Required for Windows Form Designer support
   //
   InitializeComponent();

   //
   // TODO: Add any constructor code after InitializeComponent call
   //
  }



-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------



Replies:
Posted By: Carpesimia
Date Posted: 15 February 2010 at 9:46am
Hi,

did you ever get a response for this?

According to the VB6 IDE, there is no GlobalSettings option for the skincontrol.  I would like to avoid sending my LIC file out, and would prefer to handle this in-code.  How can I do this?

Rich



Posted By: SuperMario
Date Posted: 17 February 2010 at 2:41pm
hi, distributing the LIC is against the TOS you agreed to.

SkinFrameworkGlobalSettings does exist...maybe you have some old version?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net