

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
QlikOCX Interop.QlikView Assembly problem
Dear All,
Today I downloaded QlikOCX v11 SR2 from QlikView Tech Download Site.
I Tried to use in both Visual Studio 2010/2012 as described in the reference. I can add the OCX control to the toolbar and drag it to the form, but, if i try to open a document with this code:
qlik.OpenDocument(@"c:\\temp\\test.qvw");
I got this error:
Impossible to load file or assembly 'Interop.QlikView, Version=11.0.0.0, etc. etc. etc.
I tried both x64 and x86 version but nothing changes.
What's wrong with it?
Suggestions?
thanks and regards.
Filippo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
The solution is to change the reference on Visual Studio (if you go to 'references' choose "Interop.QlickView", "Properties".
Then first modify "embed interop types" into "False", and then "Copy Local" into False.
I did try on my project in c# and it works (set Debug in visual studio on x86, not in AnyCPU).
Genni Pazzaglini
- Tags:
- QlickOCX
