Skip to main content
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
Showing results for 
Search instead for 
Did you mean: 
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

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