Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Skin Framework
  New Posts New Posts RSS Feed - Error with license information
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error with license information

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Topic: Error with license information
    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) + "\\..\\..\\..\\..\\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#

---------
Back to Top
Carpesimia View Drop Down
Groupie
Groupie
Avatar

Joined: 15 February 2010
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Carpesimia Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.