Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

.vbs not working when not logged in

I have a .VBS script to launch a QlikView file and do some stuff with it.

Everything works great when I'm logged into my account, but when I run the vbs as a scheduled task, it doesn't work.

The script looks like this:

Line 1: Set Qv = CreateObject("QlikTech.QlikView")

Line 2: wscript.sleep 2000

Line 3: Set docObj = Qv.OpenDoc(qvPath, "", "")

I have narrowed it down to line 1 being the point of error. The script exists when trying to execute line 1.

I have made sure that the script is run by the same account, but I must be doing something wrong.

Any help is appreciated.

My only requirement for getting this to work, is that I can acces the QV file as an object through the dobObj variable, as the rest of my script depends on it.

11 Replies
Not applicable
Author

Hello,

What exactly is your problem? Which part is failing?

Stive

Not applicable
Author