Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issues with QlikOcx in Visual Studio SP1 (VB)

Hi,

I'm using the Qlikocx.ocx release 10. It was succesfuly registred, I can add a document to my VS2010 application but when I want to access the attributes to get for instance some field values I have an error:

Error 1 Reference required to assembly 'QlikView, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'QlikView.Doc'. Add one to your project.

Problem is in the reference files I do see the QV references:

VSRef1.jpg

The code does recognise

AxQlikOCX1.ActiveDocument

but none of the expected attributes can be accessed (such as fields).

Thanks for help

1 Solution

Accepted Solutions
Not applicable
Author

Run regsvr32 for QlikOcx.ocx and qvp.dll, then use Aximp.exe in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ with the Qlikocx.ocx

Then in the project itself remove references generated by the QvObject and add manually the reference objects generated by the aximp.

View solution in original post

1 Reply
Not applicable
Author

Run regsvr32 for QlikOcx.ocx and qvp.dll, then use Aximp.exe in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ with the Qlikocx.ocx

Then in the project itself remove references generated by the QvObject and add manually the reference objects generated by the aximp.