<?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 WaitForIdle stops script. Why ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173654#M42757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same problem on V10. I didn't check on V9.&lt;/P&gt;&lt;P&gt;I think that's a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I tried this like you posted : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on error resume next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qvDoc.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and just that, I don't catch the error and the export is working...&lt;/P&gt;&lt;P&gt;I know that not really nice to do that and it doesn't fix the bug but the export is working like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look for an answer later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 20:50:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-09-15T20:50:34Z</dc:date>
    <item>
      <title>WaitForIdle stops script. Why ?</title>
      <link>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173652#M42755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;I'm using VB script to export some data from my QV application.&lt;/P&gt;&lt;P&gt;My export is simple :&lt;/P&gt;&lt;P&gt;-Make the selection&lt;BR /&gt;- ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;- Activate sheet of the graph&lt;BR /&gt;- ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;- Export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine on small applications.&lt;/P&gt;&lt;P&gt;Unfortunately, when I do so on a big application, the "ActiveDocument.GetApplication.WaitForIdle" statement stops the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to catch the error with this code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;on error resume next&lt;BR /&gt; ActiveDocument.GetApplication.WaitForIdle&lt;BR /&gt;&lt;BR /&gt; if err.number &amp;lt;&amp;gt; 0 then&lt;BR /&gt; MsgBox "Error number:" &amp;amp; Err.Number &amp;amp; " ; Description : " &amp;amp; Err.Description&lt;BR /&gt; end if&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I have the following :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3290_sourceID:3290" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to avoid this error ?&lt;/P&gt;&lt;P&gt;How can I wait for my application to be "ready to export" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 10:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173652#M42755</guid>
      <dc:creator />
      <dc:date>2011-01-18T10:31:19Z</dc:date>
    </item>
    <item>
      <title>WaitForIdle stops script. Why ?</title>
      <link>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173653#M42756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi, I get the same problem.&amp;nbsp; Did you find a solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only seems a problem in v10, v9 this worked perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 08:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173653#M42756</guid>
      <dc:creator />
      <dc:date>2011-05-13T08:58:23Z</dc:date>
    </item>
    <item>
      <title>WaitForIdle stops script. Why ?</title>
      <link>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173654#M42757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same problem on V10. I didn't check on V9.&lt;/P&gt;&lt;P&gt;I think that's a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I tried this like you posted : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on error resume next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qvDoc.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and just that, I don't catch the error and the export is working...&lt;/P&gt;&lt;P&gt;I know that not really nice to do that and it doesn't fix the bug but the export is working like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will look for an answer later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 20:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173654#M42757</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-15T20:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: WaitForIdle stops script. Why ?</title>
      <link>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173655#M42758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Classification: For internal use only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I solved this by just putting a timeout value after WaitForIdle, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qvDoc.GetApplication.WaitForIdle 1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;adurquety &amp;lt;qliktech@sgaur.hosted.jivesoftware.com&amp;gt; &lt;/P&gt;&lt;P&gt;16/09/11 04:50 AM&lt;/P&gt;&lt;P&gt;Please respond to&lt;/P&gt;&lt;P&gt;jive-1047103270-5er-2-37lz@qliktech.hosted.jivesoftware.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To&lt;/P&gt;&lt;P&gt;Matthew Overy/db/dbcom@DBAPAC&lt;/P&gt;&lt;P&gt;cc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subject&lt;/P&gt;&lt;P&gt;&lt;A href="Development (QlikView Desktop)"&gt;&lt;/A&gt; - Re: WaitForIdle stops script. Why ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;Re: WaitForIdle stops script. Why ? &lt;/P&gt;&lt;P&gt;created by adurquety in Development (QlikView Desktop) - View the full &lt;/P&gt;&lt;P&gt;discussion &lt;/P&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I get the same problem on V10. I didn't check on V9.&lt;/P&gt;&lt;P&gt;I think that's a bug.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Anyway, I tried this like you posted : &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;on error resume next&lt;/P&gt;&lt;P&gt;     qvDoc.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;and just that, I don't catch the error and the export is working...&lt;/P&gt;&lt;P&gt;I know that not really nice to do that and it doesn't fix the bug but the &lt;/P&gt;&lt;P&gt;export is working like this...&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I will look for an answer later.&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email -or- go to the message on &lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;Start a new discussion in Development (QlikView Desktop) by email or at &lt;/P&gt;&lt;P&gt;QlikCommunity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;© 1993-2011 QlikTech International AB     Copyright &amp;amp; Trademarks | Privacy &lt;/P&gt;&lt;P&gt;| Terms of Use | Software EULA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This e-mail may contain confidential and/or privileged information. If you &lt;/P&gt;&lt;P&gt;are not the intended recipient (or have received this e-mail in error) &lt;/P&gt;&lt;P&gt;please notify the sender immediately and destroy this e-mail. Any &lt;/P&gt;&lt;P&gt;unauthorized copying, disclosure or distribution of the material in this &lt;/P&gt;&lt;P&gt;e-mail is strictly forbidden.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 02:16:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173655#M42758</guid>
      <dc:creator />
      <dc:date>2011-09-16T02:16:45Z</dc:date>
    </item>
    <item>
      <title>WaitForIdle stops script. Why ?</title>
      <link>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173656#M42759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Where I can see to kwon how does "waitForIdle" mean? I'm new in vbscript... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 08:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/WaitForIdle-stops-script-Why/m-p/173656#M42759</guid>
      <dc:creator />
      <dc:date>2011-10-28T08:12:36Z</dc:date>
    </item>
  </channel>
</rss>

