Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Tue Jun 20, 2006 2:16 am Post subject: INFO : Procedure for activating license |
|
|
The license information that you enter (as per the steps mentioned in the email that you recived from LogicNP Software upon purchase) is stored in the registry. When the project exe or dll file is being built, the control retrieves this information from the registry and embeds it in an encrypted form in the project exe or dll file. At runtime, the control uses this information to determine if it is licensed properly.
However, on some occasions, the license information embedded in the project exe or dll file might not get refreshed after the control license status changes ( no license information => valid license information in the registry ). You can determine if valid license information is embedded in the project exe or dll file, by running the project in Debug mode and examining the contents of the Output Window. If valid information is embedded, then the Output Window should contain a line which reads "ShellObjects Licensed = True". If valid information is not present, the line will read "ShellObjects Licensed = False"
If valid information is not embedded, the following steps should be performed :
Delete the 'bin' and 'obj' folders under your project folder and do a 'Rebuild All' on your project. Often this does a fresh build of your exe or dll file and valid license information will get embedded in it.
If valid information is still not embedded, from the licenses.licx file found in your project directory, remove the line corresponding to the controls in ShellObjects.Net
The line should be similar to the following line :
LogicNP.ShellObjects.ShellAppBar, LogicNP.ShellObjects, Version=8.0.0.0, Culture=neutral, PublicKeyToken=d645dd87b2631575
After this again do a 'Rebuild All ' on your project.
If valid information is still not embedded (determined by examing the Output window), remove the reference to the LogicNP.ShellObjects assembly from your project. Then reinsert the reference to the LogicNP.ShellObjects assembly and do a ' Rebuild All ' on your project. This should refresh the licenses.licx file with the line corresponding to the FileView.Net control.
If valid information is still not embedded (determined by examing the Output window) in the project exe or dll file, manually reinsert the removed line in the licenses.licx file and do a ' Rebuild All ' on your project. |
|