Page 1 of 1

License Issue

Posted: Tue Nov 22, 2011 1:15 pm
by lma
Hi,

I'm testing the "Csharp-Document Viewer", so I insert the license key on line 28 of the file "Form1.cs":

Code: Select all

oLicenceManager.RegisterKEY("license number");//Please, replace XXXX by a valid demo or commercial license key. 
I generate the solution.

But, when I ran the application, and I go to "File --> Open...", an error is showed, telling that the option is not unlocked.

So, What am I doing wrong?

Thanks.

Re: License Issue

Posted: Tue Nov 22, 2011 1:49 pm
by Loïc
Hi,

Maybe an error in our sample. Are you sure the line is executed ? You can cross check that by adding a break point for example.

Kind regards,

Loïc

Re: License Issue

Posted: Tue Nov 22, 2011 1:58 pm
by lma
You are right,

the event Load of the Form was not associated with the "Form1_Load" function, so the line 28 is never executed. I associate the event with the function and it works now!

Thanks!

Re: License Issue

Posted: Tue Nov 22, 2011 2:04 pm
by Loïc
ok great!

Thank you for the return, e will fix the demo for the next release.

Loïc