<?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: VB macro in QlikView - import VB packages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786847#M472128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is VB .Net not vbscript.&lt;/P&gt;&lt;P&gt;vbscript is what is used in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to google: vbscript current directory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 10:39:47 GMT</pubDate>
    <dc:creator>jerrysvensson</dc:creator>
    <dc:date>2015-01-29T10:39:47Z</dc:date>
    <item>
      <title>VB macro in QlikView - import VB packages</title>
      <link>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786845#M472126</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 find out the working directory from which my QlikView VB macro is running.&lt;/P&gt;&lt;P&gt;According to MSDN, this should suffice:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Imports&lt;/SPAN&gt; System&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Imports&lt;/SPAN&gt; System.IO&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Dim&lt;/SPAN&gt; path &lt;SPAN style="color: blue;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;String&lt;/SPAN&gt; = Directory.GetCurrentDirectory()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is that QV doesn't recognize the &lt;STRONG&gt;Imports&lt;/STRONG&gt; or &lt;STRONG&gt;Directory.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any clue how to import VB packages in QlikView? I'm sure there are also other cases where it can be useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Assaf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786845#M472126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T10:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: VB macro in QlikView - import VB packages</title>
      <link>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786846#M472127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Assaf, so far I know there is no 'Imports' Statement in &lt;STRONG&gt;vbscript, &lt;/STRONG&gt;'Imports' is a Visual Basic statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if the CreateObject statement can help you, for a qlikview macro you need to search for vbscript (or JScript)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786846#M472127</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-01-29T10:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: VB macro in QlikView - import VB packages</title>
      <link>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786847#M472128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is VB .Net not vbscript.&lt;/P&gt;&lt;P&gt;vbscript is what is used in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to google: vbscript current directory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 10:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786847#M472128</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2015-01-29T10:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: VB macro in QlikView - import VB packages</title>
      <link>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786848#M472129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jerry, your reply put me on the right tracks.&lt;/P&gt;&lt;P&gt;This is the answer:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; WshShell&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; strCurDir&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #00008b;"&gt;Set&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; WshShell &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; CreateObject&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #800000;"&gt;"WScript.Shell"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&lt;BR /&gt;strCurDir&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; WshShell&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;CurrentDirectory&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 11:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-macro-in-QlikView-import-VB-packages/m-p/786848#M472129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T11:45:59Z</dc:date>
    </item>
  </channel>
</rss>

