Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a issue, when i reload a application from a Batfile and windows Scheduler, the application will not closing.
The Scheduler is running and QV.exe are active in task manager.
When i open in QV and reload it, its working fine.
Any ideas?
you could try the VBS way.
put this lines into a file with the extension .VBS (a must) and then double-qlik it.
SET QV = CreateObject("QlikTech.QlikView")
QV.OpenDoc ("E:\xxx.qvw")
QV.ActiveDocument.Reload()
QV.ActiveDocument.Save
QV.QUIT
SET QV = NOTHING
Okay, this work fine. And i can call the VBS file with Win Scheduler?
yes. you can.
but take that in consideration: using this method (a vbs script), the qv doc will open in the currently qv process and reloads, save, and then quits the entire process.
more explicitily: if you open a qv doc, let's say SALES.qvw. and you work in it. and the sched runs. after that, it quits. and so your SALES.qvw and the work you've done by that moment.
this is something i couldn't bypass.