<?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: QWV path in VBScript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358979#M704849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to retrive only path :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff;"&gt;tmpPath = ActiveDocument.GetPathName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;lastBackSlash = InStrRev( tmpPath , "\" )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;path = Left( tmpPath , (lastBackSlash - 1) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 09:44:59 GMT</pubDate>
    <dc:creator>azimabadi</dc:creator>
    <dc:date>2012-04-19T09:44:59Z</dc:date>
    <item>
      <title>QWV path in VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358977#M704847</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;i need to get the path of QVW file in my module.&lt;/P&gt;&lt;P&gt;in script, i can call &lt;SPAN style="color: #0000ff;"&gt;DocumentPath&lt;/SPAN&gt; to retrive the path, but in VBScript this will not work.&lt;/P&gt;&lt;P&gt;There is a &lt;SPAN style="color: #008000;"&gt;object.Path&lt;/SPAN&gt; in VBScript syntax but i need to initialize the &lt;SPAN style="color: #008000;"&gt;object &lt;/SPAN&gt;first.&lt;/P&gt;&lt;P&gt;Anyone has an idea how can i get the path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 08:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358977#M704847</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-04-19T08:07:41Z</dc:date>
    </item>
    <item>
      <title>QWV path in VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358978#M704848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the snippet for Active QVW Path and File Name in VBS, got it from API Guide:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sub showPath&lt;/P&gt;&lt;P&gt;msgbox(ActiveDocument.GetPathName)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narasimha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 08:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358978#M704848</guid>
      <dc:creator />
      <dc:date>2012-04-19T08:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: QWV path in VBScript</title>
      <link>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358979#M704849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to retrive only path :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #0000ff;"&gt;tmpPath = ActiveDocument.GetPathName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;lastBackSlash = InStrRev( tmpPath , "\" )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;path = Left( tmpPath , (lastBackSlash - 1) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 09:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QWV-path-in-VBScript/m-p/358979#M704849</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2012-04-19T09:44:59Z</dc:date>
    </item>
  </channel>
</rss>

