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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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,

Labels (1)
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,