1 Reply Latest reply: Jul 7, 2016 5:23 PM by Rob Wunderlich RSS

    open remote QV app with VBS

    Philipp Wesseling

      Hi all,

       

      when i try and open a QVW located on a remote host, the process seems to get stuck. I am using a very simple command in a VBS file (test.vbs), which is located on the same machine as the QVW:

       

      Set MyApp = CreateObject("QlikTech.QlikView")

      Set MyDoc = MyApp.OpenDoc("D:\Files\Sales.qvw")

       

      When i run this on the machine that also hosts the QVW, it opens fine. But when i try the same thing from remote, i only see the QV.EXE in the remote host's task manager, but nothing happens after that. I would expect that my cmd window would exit the procedure call after the document is open, but instead in remains in a state that indicates there is still something happening....at least i cant type anything in it.

       

      This is how i call the vbs from remote:

       

      psexec \\REMOTE_HOST cscript.exe D:\VBScripts\test.vbs

       

      Any idea what i am doing wrong ? Or suggestion on how to do this instead ?

       

      Eventually i want to make a bunch of selections in this document and then export a few charts from it as XLS. The code is ready and works fins - but only when executed on the same machine...