Creating a basic Visual Basic Windows Forms application
This topic describes how to create a basic Visual Basic Windows Forms application in Visual Studio.
Do the following:
-
Create a label (label1) to display the version of the Qlik associative engine.
-
Create an event handler for the load event of the form.
-
Create a connection to the engine by adding a imports clause for Qlik.Engine in the Form1.vb file.
Note: This example assumes that the engine is running locally because the hub is retrieved from Qlik.Engine.Location.FromUri.Then call ProductVersion as a synchronous call to retrieve the version number from Qlik associative engine and update the label.
-
Run the program.
You have now created a basic Visual Basic Windows Form application.