Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 License Embedding
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

nkilzer

8 Posts

Posted - 12 May 2005 :  20:12:24  Show Profile  Reply with Quote
I am trying to write a windows form application that embeds my QCChart Redistributable license into the executable so that I don't need an installer.

For testing, I have renamed my developer's license file in the Windows\System32 directory to disable it.

When I use a copy of the developer's license, everything works perfectly. It loads and operates just as expected. When I attempt to use the Redistributable license, however, I get an array index out of bounds exception on application initialization.

According to the exception dialog, the exception is thrown in the ChartView.DrawLicenseMessages() method.

Any help would be appreciated.

quinncurtis

1164 Posts

Posted - 13 May 2005 :  09:02:31  Show Profile  Reply with Quote
What is the File Version level of your QCChart2DNet.dll ? Just right click the dll and select Properties | Version.
Go to Top of Page

nkilzer

8 Posts

Posted - 13 May 2005 :  17:05:49  Show Profile  Reply with Quote
The version of the DLL is 1.5.0.3.
Go to Top of Page

quinncurtis

1164 Posts

Posted - 13 May 2005 :  17:37:59  Show Profile  Reply with Quote
I am unable to reproduce the problem you describe, testing it using our UserChartExample1 example program. I added the QCLicense.lic.xml file to the project, making sure to set its Build Action property to embedded resource. I added the
ChartView.SetLicensePath('UserChartExample1") call before the user controls are instantiated.

public Form1()

{

//

// Required for Windows Form Designer support

//

ChartView.SetLicensePath("UserChartExample1");

InitializeComponent();

//

// TODO: Add any constructor code after InitializeComponent call

//

}


See if you can reproduce your problem using our example program.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07