<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VB Script Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856970#M653165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a desktop client installed on that server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Jul 2015 13:14:11 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-07-12T13:14:11Z</dc:date>
    <item>
      <title>VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856969#M653164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a qlikview report and have a VB script to run the report and generate the pdf. The same runs fine on my laptop which is running window 8.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I deploy it on the clients server that is running windows 2008 R2 it gives me an error.. (Attached is the error).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I following is scaled down version of the script script which I currently have on my vbs script and all I expect it to do is open the document sleep for 2000 mili seconds close and quit, but it is giving me an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current script in my vbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set MyApp = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;Set MyDoc = MyApp.OpenDoc ("D:\TestQlikview\ReverseEng.qvw")&lt;/P&gt;&lt;P&gt;MyDoc.GetApplication.Sleep 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyDoc.CloseDoc&lt;/P&gt;&lt;P&gt;MyApp.Quit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 13:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856969#M653164</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-07-12T13:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856970#M653165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a desktop client installed on that server?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 13:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856970#M653165</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-12T13:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856971#M653166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I remote on to the server &amp;amp; run the script at the dos prompt of the server ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried the cscript command. but gives the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 13:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856971#M653166</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-07-12T13:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856972#M653167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I was asking if there is a desktop QV client installed on that server.&lt;/P&gt;&lt;P&gt;I believe you need a QV desktop client to make above object call work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also assume that the QVW exists in the folder path you've stated in second line's argument and you are giving a full absolute path, not a relative path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than that, I don't have an idea why it's failing. It's working on my side on a 2008R2 server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 15:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856972#M653167</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-12T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856973#M653168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the qlikview desktop client is installed &lt;/P&gt;&lt;P&gt;i changed to absolute path just to&amp;nbsp; ensure that i am considering the right file from right place&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 19:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856973#M653168</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-07-12T19:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856974#M653169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And it' still failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do get the error message with an relative path, but it works fine with an absolute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see the QV application opening and an 'Opening failed' error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 19:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856974#M653169</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-12T19:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856975#M653170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have converted the vb script to a macro&lt;/P&gt;&lt;P&gt;executing the same onOpen trigger&lt;/P&gt;&lt;P&gt;and have written a batch file to call the file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is currently working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Absolutely no idea why the VBScript is not working on that server. Will schedule a restart for the server and check later&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 23:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856975#M653170</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-07-12T23:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856976#M653171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of writing this in VB script, it is always suggestible to write it as a macro and call that after the document is reloaded.&amp;nbsp; You will have better control on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 03:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue/m-p/856976#M653171</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-07-13T03:18:48Z</dc:date>
    </item>
  </channel>
</rss>

