Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

VB and Qlik

Hi All,

I have developed a dashboard with some charts and is it possible to call that dashboard directly into any VB.NET application without Qlick???

Thanks

8 Replies
Not applicable
Author

Hi,

If your vb.net application is web application then you can do the following way. Use the iframe in aspx page. In the iframe source tag call the qlik view document path.

The qlik view path will be "http://localhost/QlikView/Plugin/<your document name>.

Try this way.

thanks

Saran.

Not applicable
Author

thanks for ur reply..Well my application is desktop based...any solution for desktop? ...for web based tell me one thing how to setup this "QlikView/Plugin" directory? does it require some sorta setup ? plz guide.

thanks

Not applicable
Author

HI,

I f you you installed the Qlik View Server then, it will automatically create the virtual directory in server.

You can find this "Qlikview" in your IIS.

Thanks

Saran.

wizardo
Creator III
Creator III

Hi joshtheflame,

qlikview has an OCX that gives you access to qlikview inside a vb.net application.

there is an entire SDK and the OCX is a part of it.

as far as i know it needs to be purchased separately.

it comes with its own merge modules that you must embed in the .net application and there you also supply the KEY that you got from qliktech.

after you install it you get access to the OCX which is basically QV inside a control.

if you check the APIGUIDE.QVW that you have with your normal installation of qlikview you can see there all the methods and properties you have access too (check under the "QlikViewOCX API" tab).

inside this OCX you can oen a QVW fro your user.

if your application needs more control over qliview, or if you need is to embed just objects(charts, pivots, etc) then a webpage with qv webparts is the only solution

Mansyno

Not applicable
Author

you can reference the QlikView IE plugin (aka QlikView OCX aka QlikView ActiveX component) in a .net project, and the .net interop will create the proper wrapper code to use it from a .net application

wizardo
Creator III
Creator III

well this is the SAME OCX i was referning to.

mind you that the merge modules are still needed

Mansyno

Not applicable
Author

I have the same problem in VB.Net, I'm using the QlikView 9.0 Type Library COM reference, this works fine with the public samples but not with my own created QVW files. I'm using the personal edition.

The error I always get is "The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))".

Here's my test code :

Dim QVApp As QlikView.Application

Dim QVDoc As QlikView.Document

'start QlikView application

QVApp =

New QlikView.Application



'open QVW file

QVDoc = QVApp.OpenDoc(strQVFileName)

'clear all selections

QVDoc.ClearAll(

False) --> here I get the error

In this topic they are talking about QlikView OCX, this is not installed, where can I find this to try this instead.

Thanks.

Geert