QVGuard Studio User Guide

Follow the steps below in order to protect and license your QlikView application with QVGuard.

7) Test Licensing

At this point you should have configured your application to either run the QVGuard licensing check during the load script or some macro event (for example the OnOpen macro event for the document).

Depending on your choice you should now find that when you try to reload or open/use your QlikView application, that the application fails to either load or run due to your checks and logic in the load script and or macro code.

You can see more information about how the licence check failed by adding an input box to your QlikView application. You can do this by right clicking on one of your sheets and selecting the following:

Then, right click on the new input box, select properties and then select and add all the variables which begin lic???????:

And add these to your input box:

You will probably find one of two scenarios at this point.

1) If you have not installed the free QVGuard Client on your machine then you might see something like the following:

You can see in this case the licFailureCode is 8 and there are also licFailureShort and licFailureLong variables with more descriptive information in. In a real world application you could use these variables to display more helpful information to your users.

2) If you have installed the QVGuard Client then you will more likely see results similar to the following:

Because you have not yet created and installed a valid licence file for your QlikView application.

Screenshots