Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Running OCX with macros

Hello,

I need  your help for OCX which has a macro.

My customer developed a document which has a macro creating a chart dynamically.

In macro to create a chart  the document read from XML about properties.

But  one of statements  in macro is not executed . The statement is 

"ActiveDocument.ActiveSheet.CreateObjectsFromXMLPropertiesFile  XMLfilename" .

Is this a bug or is there any mistake ?

Thanks in advance,

WanKi,

1 Reply
Not applicable
Author

In addition,

my customer is using a portal developed with C#.

The QV documents are called the frame of portal.

In web it works normally, but it does not work in portal environments.

I found a clue that it happens when more that two documents are opened simultaneously.

Also "ActiveDocument.GetApplication.WaitForIdle" is not work in same environments.

Thanks,

WanKi,