<?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 QlikView vbs open doc in new window in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280188#M1236908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing a small vbs script that opens a qvw without data and saves it in different location. After the save is complete the document is closed. The problem is that if the main doc is already open QV closes it at the end. Is there a way the vbs script to open new QV instance instead using the already open one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My "script.vbs" looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14796429447901805" jivemacro_uid="_14796429447901805" modifiedtitle="true"&gt;
&lt;P&gt;Set MyApp = CreateObject("QlikTech.QlikView")&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;set MyDoc = MyApp.OpenDocEx ( "c:\test\test.qvw", 2 , false , "" , "", "" , true)&lt;/P&gt;
&lt;P&gt;MyDoc.SaveAs("c:\test_nodata\test.qvw")&lt;/P&gt;
&lt;P&gt;MyDoc.CloseDoc&lt;/P&gt;
&lt;P&gt;MyApp.Quit&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>countnazgul</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>QlikView vbs open doc in new window</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280188#M1236908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing a small vbs script that opens a qvw without data and saves it in different location. After the save is complete the document is closed. The problem is that if the main doc is already open QV closes it at the end. Is there a way the vbs script to open new QV instance instead using the already open one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My "script.vbs" looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14796429447901805" jivemacro_uid="_14796429447901805" modifiedtitle="true"&gt;
&lt;P&gt;Set MyApp = CreateObject("QlikTech.QlikView")&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;set MyDoc = MyApp.OpenDocEx ( "c:\test\test.qvw", 2 , false , "" , "", "" , true)&lt;/P&gt;
&lt;P&gt;MyDoc.SaveAs("c:\test_nodata\test.qvw")&lt;/P&gt;
&lt;P&gt;MyDoc.CloseDoc&lt;/P&gt;
&lt;P&gt;MyApp.Quit&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280188#M1236908</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView vbs open doc in new window</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280189#M1236911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think so, but you could leave out the MyApp.Quit line. If your script finishes then all object references should be cleaned up anyway automatically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2016 12:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280189#M1236911</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-11-20T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView vbs open doc in new window</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280190#M1236914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To do this you would need to start a new instance of qlikview - maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rem ** Example 1 ** from APIGuide.qvw&lt;/P&gt;&lt;P&gt;set app= ActiveDocument.GetApplication&lt;/P&gt;&lt;P&gt;app.Launch "C:\Program Files\Qv.exe","C:\Myfiles\abc.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your code might be executed by an OnOpen-trigger or you execute external batches - triggerred per vbs or a load-statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikviewmaven.blogspot.de/2008/08/qlikview-command-line-and-automation.html" title="http://qlikviewmaven.blogspot.de/2008/08/qlikview-command-line-and-automation.html"&gt;QlikView Maven: QlikView Command Line and Automation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1140083"&gt;Re: create external task on QMC (VB)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Nov 2016 12:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-vbs-open-doc-in-new-window/m-p/1280190#M1236914</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-20T12:50:11Z</dc:date>
    </item>
  </channel>
</rss>

