Hello everyone,
I have created a reload task in management console using EDX. In the QV application, I have built a button to trigger the macro as below:
Sub Reload_data
Dim strTaskPassword
Dim strTaskName
Dim strCommand
Dim strServer
Dim strEDX
strEDX = "C:\Qlikview\EDX\QMSEDX_CommandLine\QMSEDX.exe"
strServer = "http://localhost:4799/QMS/Service"
strTaskName = "Production/Mining Report.qvw"
strTaskPassword = "123"
strCommand = Chr(34) & strEDX & Chr(34) & " -task=" & Chr(34) & strTaskName & Chr(34) & " -qms=" & Chr(34) & strServer & Chr(34) & " -password=" & Chr(34) & strTaskPassword & Chr(34)
Set WshShell = CreateObject("WScript.Shell")
Call WshShell.Run(strCommand,0,False)
end sub
This function works very well on web client. Every time users click the reload button, it runs the macro which trigger the EDX and then do the reload task.
Users have been added to QlikView EDX group otherwise it won't work on web client.
But the problem is when using fat client to log onto the server and open the application remotely, it shows the error as following and the reload does not start:
Macro parse failed. Functionality was lost.
Reload_data
Error:
Can anyone help please? Why is it working very well on web client but not fat client??
Thanks.
Fei