- Code: Select all
Call chVPE.License("<licence>","<key>")
However whenever I try to run this program in development environment I get the following error message
---------------------------
Microsoft Visual Basic
---------------------------
License information for this component not found. You do not have an appropriate license to use this functionality in the design environment.
---------------------------
OK Help
---------------------------
I have checked this ocx with regsvr32.exe and get the following message when I register the ocx:
---------------------------
RegSvr32
---------------------------
DllRegisterServer in <path to ocx>\vpectrl35.ocx succeeded.
---------------------------
OK
---------------------------
The program works if I use the last built exe of the project, but I am unable to build/run the program in the design environment.
Should there be a separate license file in the directory with the ocx? or does something else need to be done?