Let me first say that I find the project to be great and I plan on using it in all my applications for it's features and simplicity of use, however I ran into an error message while using the
project. I provided exactly what I did with the
so hopefully you can reproduce the error and provide some advice. All the code looks correct based on the documentation (no typos or anything) so my concern is that this is an error in the library itself. I'm running this project
in Visual Studio Ultimate 2013 Update 3. Any guidance or suggestions would be greatly appreciated. Now onto what I did:
I downloaded the LicenseTypesSKGL
project to step through the code to better understand how to use the library. As long as the
file is present (whether it is blank or has a license key in it) the project works fine.
However if I rename the file to _userKey.skgl
method ends up calling the
method. This method runs fine until the line
, which throws an exception that is caught in the
block of the Form1_Load
method. The exception message is:
Conversion from string \"8/16/2014\" to type 'Integer' is not valid.
The inner exception message is
Input string was not in a correct format.
The stack trace is:
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
at g.a(Int32 A_0, Boolean A_1, String A_2, Int32 A_3)
at SKGL.Generate.doKey(Int32 _timeLeft)
at LicenseTypes.Form1.generateDemoLicense() in c:\Users\Dominick\Desktop\Programming\SKGL\License Types\LicenseTypesSKGL\main.cs:line 160
at LicenseTypes.Form1.Form1_Load(Object sender, EventArgs e) in c:\Users\Dominick\Desktop\Programming\SKGL\License Types\LicenseTypesSKGL\main.cs:line 76
The source is:
The target site is: