Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
TKendrick20
Partner - Specialist
Partner - Specialist

Call QlikView Macro from C# Application?

I'm using Microsoft Visual Studio Express 2013 for Windows Desktop and I'm attempting to call a QlikView 11.20 Desktop macro from my C# windows form application. Does anyone know if this is possible?

I've added the QlikOCXLib and QlikView references to my project but I don't see a way to interact with the QlikView document.

1 Reply
marcus_sommer

I don't know if it's possible per visual studio and C# but you could start a qvw per command-line and an OnOpen- or OnPostReload triggered macro could be executed. You are more flexible if you used vbscript to execute qvw-files with and without macros. A good source for the qv API is the APIGuide.qvw within your qv install-folder by automation.

Maybe the following is further helpful for you:

QlikView Maven: QlikView Command Line and Automation

QlikView automation by external VBScript scripts

- Marcus