<?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: Open 2nd Qlikview File from within a Qlikview file. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317595#M117110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your reply. &lt;/P&gt;&lt;P&gt;Option 1 you mentioned Actions -&amp;gt; External -&amp;gt; Open QlikView Document does not work! Also with a link it does not work. I had a discussion running about this a couple of days ago ....try it yourself and you'll see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can see the only option here is really using a scrip-t like above. I got the script to work but it takes about 25 seconds to load the file and my users won't like that. And...not all machines have the dll installed that's required to load the app which requires installation work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Option 1 worked that would be ideal but on Version 9 Release 3 it does not!!&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 May 2011 19:07:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-20T19:07:01Z</dc:date>
    <item>
      <title>Open 2nd Qlikview File from within a Qlikview file.</title>
      <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317591#M117106</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;Was wondering if something has a way to open a 2nd Qlikview File from within a Qlikview file.&lt;/P&gt;&lt;P&gt;The only way I see that maybe working is VB Script but I can't seem to pass that line in the code where it is creating the CreateObject...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;Sub Run(ByVal sFile)&lt;BR /&gt;Dim shell&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Set shell = CreateObject("WScript.Shell")&amp;nbsp;&amp;nbsp; ----&amp;gt; Does not go over this line of code in my case...why?&lt;BR /&gt;&amp;nbsp; shell.Run Chr(34) &amp;amp; sFile &amp;amp; Chr(34), 1, false&lt;BR /&gt;&amp;nbsp; Set shell = Nothing&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then to use it include the script and call it as follows:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #008000;"&gt;' Execute the file MyFile.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000080;"&gt;Run "C:\Program Files\MyFile.exe"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, use it to execute a file in the app that is registered to handle files of that type:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #008000;"&gt;' Open the file MyFile.doc in Word&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000080;"&gt;Run "C:\My Documents\MyFile.doc"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Anyone call help provide some code for this...Thx Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 16:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317591#M117106</guid>
      <dc:creator />
      <dc:date>2011-05-20T16:29:53Z</dc:date>
    </item>
    <item>
      <title>Open 2nd Qlikview File from within a Qlikview file.</title>
      <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317592#M117107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, the issue is likely to happen because of execution permission. Make sure to change your macro section security option to "system access" and "allow system access".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 16:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317592#M117107</guid>
      <dc:creator />
      <dc:date>2011-05-20T16:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Open 2nd Qlikview File from within a Qlikview file.</title>
      <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317593#M117108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;If you need to call just another QV Document you don't need this type of macro. You can include a action for that (Actions -&amp;gt; External -&amp;gt; Open QlikView Document)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really need this, your problem is probably the security level. &lt;/P&gt;&lt;P&gt;At the module editor, on the left you will find the security level. You need to change both of them to system level. &lt;/P&gt;&lt;P&gt;You will probably need to save the document, open it again to allow unsafe macros That's necesary, since this code can send anything command to the OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also adapted your code to call a variable from the interface: &lt;/P&gt;&lt;P&gt;You can check my attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub Run&lt;/P&gt;&lt;P&gt;'(ByVal sFile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v = ActiveDocument.Variables("sFile")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; command = v.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim shell&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set shell = CreateObject("WScript.Shell")&amp;nbsp; ' ----&amp;gt; Does not go over this line of code in my case...why?&lt;/P&gt;&lt;P&gt;&amp;nbsp; shell.Run Chr(34) &amp;amp; command &amp;amp; Chr(34), 1, false&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'shell.Run Chr(34) &amp;amp; sFile &amp;amp; Chr(34), 1, false&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set shell = Nothing&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 16:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317593#M117108</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-20T16:43:06Z</dc:date>
    </item>
    <item>
      <title>Open 2nd Qlikview File from within a Qlikview file.</title>
      <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317594#M117109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your reply. &lt;/P&gt;&lt;P&gt;Option 1 you mentioned Actions -&amp;gt; External -&amp;gt; Open QlikView Document does not work! Also with a link it does not work. I had a discussion running about this a couple of days ago ....try it yourself and you'll see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can see the only option here is really using a scrip-t like above. I got the script to work but it takes about 25 seconds to load the file and my users won't like that. And...not all machines have the dll installed that's required to load the app which requires installation work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Option 1 worked that would be ideal but on Version 9 Release 3 it does not!!&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 19:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317594#M117109</guid>
      <dc:creator />
      <dc:date>2011-05-20T19:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Open 2nd Qlikview File from within a Qlikview file.</title>
      <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317595#M117110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your reply. &lt;/P&gt;&lt;P&gt;Option 1 you mentioned Actions -&amp;gt; External -&amp;gt; Open QlikView Document does not work! Also with a link it does not work. I had a discussion running about this a couple of days ago ....try it yourself and you'll see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can see the only option here is really using a scrip-t like above. I got the script to work but it takes about 25 seconds to load the file and my users won't like that. And...not all machines have the dll installed that's required to load the app which requires installation work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Option 1 worked that would be ideal but on Version 9 Release 3 it does not!!&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;Ludwig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 19:07:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317595#M117110</guid>
      <dc:creator />
      <dc:date>2011-05-20T19:07:01Z</dc:date>
    </item>
    <item>
      <title>Open 2nd Qlikview File from within a Qlikview file.</title>
      <link>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317596#M117111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the server? Can you open it on a browser? If you can, only the first user would have to wait longer or you could use a preload setting (the application would be available on memory, even to the first user according to some settings) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2011 19:28:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Open-2nd-Qlikview-File-from-within-a-Qlikview-file/m-p/317596#M117111</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-20T19:28:16Z</dc:date>
    </item>
  </channel>
</rss>

