Hello,
I am testing QlikView 11 SR8 in my customer site.
The environments are Visual Studio 2010 SP1 and .Net 4.0 on the Windows 7.
My customer developed a document(qvw) which create Objects from XML by macro.
sub setDetailChart()
............
filename = "\Variable\M10_AreaTrendChart.xml"
..........
end sub
sub createChart(filename)
xmlfile = getValue("vs_CommonPath") + filename
ActiveDocument.ActiveSheet.CreateObjectFromXmlPropertiesFile xmlfile
end sub
Then the document is called from C# using "qvp://ip adress/document.qvw".
The problem is occurred when the macro is executed after the document sheet is activated
The statement, ActiveDocument.ActiveSheet.CreateObjectFromXmlPropertiesFile, make an error as follow
Macro parse failed. Functionality was lost.
setDetailChart
Error :
setDetailChart --> subroutine calls the subroutine, createChart.
Error : no error number or messages
But, in local computer, if the document is called using "D:\QVW\document.qvw" not "qvp://", it works fine.
I don't know why.
Please help me out.
Regards,
WanKi,