<?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 Problem with command line and macro to mail reports in Windows Tasks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-command-line-and-macro-to-mail-reports-in-Windows/m-p/180438#M46874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;My problem is the following.&lt;/P&gt;&lt;P&gt;Updated to QV9 SR6 and now some of my windows task do not work anymore.&lt;/P&gt;&lt;P&gt;Intention: I have a QV application which start, and reloads in Windwos Tasks (once a week). Works well&lt;/P&gt;&lt;P&gt;&lt;EM&gt;qv.exe /r 'filename'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Now I have added a macro whichs runs on reload (the macro, prints report to PDF and mails to several people). Now QV stops during the execution of the Task (with error). Within the application when starting reload the macro runs fine and no error. Problem therefore is somehow in the fact that in the command line opening, reloading and sending mail is somehow to slow or something.&lt;/P&gt;&lt;P&gt;Anybody an idea what causes this problem.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Nov 2010 15:08:32 GMT</pubDate>
    <dc:creator>agrisyst</dc:creator>
    <dc:date>2010-11-10T15:08:32Z</dc:date>
    <item>
      <title>Problem with command line and macro to mail reports in Windows Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-command-line-and-macro-to-mail-reports-in-Windows/m-p/180438#M46874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;My problem is the following.&lt;/P&gt;&lt;P&gt;Updated to QV9 SR6 and now some of my windows task do not work anymore.&lt;/P&gt;&lt;P&gt;Intention: I have a QV application which start, and reloads in Windwos Tasks (once a week). Works well&lt;/P&gt;&lt;P&gt;&lt;EM&gt;qv.exe /r 'filename'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Now I have added a macro whichs runs on reload (the macro, prints report to PDF and mails to several people). Now QV stops during the execution of the Task (with error). Within the application when starting reload the macro runs fine and no error. Problem therefore is somehow in the fact that in the command line opening, reloading and sending mail is somehow to slow or something.&lt;/P&gt;&lt;P&gt;Anybody an idea what causes this problem.&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 15:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-command-line-and-macro-to-mail-reports-in-Windows/m-p/180438#M46874</guid>
      <dc:creator>agrisyst</dc:creator>
      <dc:date>2010-11-10T15:08:32Z</dc:date>
    </item>
    <item>
      <title>Problem with command line and macro to mail reports in Windows Tasks</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-command-line-and-macro-to-mail-reports-in-Windows/m-p/180439#M46875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hy,&lt;/P&gt;&lt;P&gt;I had a similar problem and solved it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;qv.exe 'filename' -delete parameter /r&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;create macro:&lt;/P&gt;&lt;P&gt;sub start&lt;BR /&gt; ActiveDocument.Reload&lt;BR /&gt; ActiveDocument.ClearAll false&lt;BR /&gt; ActiveDocument.GetApplication.WaitForIdle&lt;/P&gt;&lt;P&gt;call &amp;lt;function&amp;gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;this sub start on event OpenDocument and delete evet on afterreload&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Nov 2010 10:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-command-line-and-macro-to-mail-reports-in-Windows/m-p/180439#M46875</guid>
      <dc:creator>gandelr</dc:creator>
      <dc:date>2010-11-12T10:40:23Z</dc:date>
    </item>
  </channel>
</rss>

