Joined: 28 Feb 2005
|Posted: Sun Apr 03, 2005 11:08 pm Post subject: Evaluation message still appears after entering license key
|Once you have entered your license key for VirtualTree the nag screens when opening the control in the designer will disappear, but you may find when you run the project that the evaluation message "This application was created with an evaluation version of ..." will still appear.
First try doing a "Rebuild" (instead of Build). This will probably fix the issue - which is caused because VisualStudio doesn't realize it needs to recompile the embedded license file resource.
If this doesn't work - check that you have a "licenses.licx" file included as an embedded resource as part of the project. Visual Studio hides this file so you will need to use the "Project->Show All Files" menu to see it. Check that the file includes a line similar to:
Infralution.Controls.VirtualTree.VirtualTree, Infralution.Controls.VirtualTree, Version=22.214.171.124, Culture=neutral, PublicKeyToken=3e7e8e3744a5c13f
This should all have been generated automatically by the Visual Studio when you inserted the control on your form - but if you didn't use the designer to add the control (for instance if you are inheriting from VirtualTree) it may be missing.
If you are using controls from the Infralution.Controls library such as the UniversalEditBox, VirtualListBox or VirtualDropDown list then your licx file should also include entries for these:
Infralution.Controls.UniversalEditBox, Infralution.Controls, Version=126.96.36.199, Culture=neutral, PublicKeyToken=3e7e8e3744a5c13f
If you are still having issues with evaluation messages or License Dialogs appearing then exit Visual Studio and delete the obj and bin directories for each of the projects in your solution. This forces Visual Studio to recompile everthing.
In Version 3 and later of Virtual Tree the design time license file is stored under a subdirectory of the Common App Data directory (typically C:\ProgramData\Infralution\Licenses). To verify that your application has the license information embedded correctly you can temporarily rename the license file while running your app (otherwise the app will pick up and use the design time license in the absence of a runtime license in the resources).
Note that these problems typically only occur for projects that were created and compiled using unlicensed evaluation versions of VirtualTree. New projects created after installing licenses should have no issues.