<?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 Script Issue in creating WScript.Shell Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750175#M267625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is usually due to the Module permissions. Open the Module Editor (Ctrl-m) and select "Allow System Access" in the Current Local Security dropdown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 06:35:45 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-12-17T06:35:45Z</dc:date>
    <item>
      <title>VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750172#M267622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have downloaded a document regarding creating a PDF Report, In That there is Macro function which have below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function printReportPDF(pdfOutputFile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set WSHShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfOutputFile, "REG_SZ"&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set WSHShell = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same i had copied the macro in my QV file as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function printReportPDF_NEW(pdfOutputFile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Set WSHShell = CreateObject("WScript.Shell")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\OutputFile", pdfOutputFile, "REG_SZ"&lt;/P&gt;&lt;P&gt;&amp;nbsp; WSHShell.RegWrite "HKCU\Software\QlikViewPDF\BypassSaveAs", "1", "REG_SZ"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set WSHShell = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the downloaded document working fine , but in my document red marked line giving me error.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline; color: #ff0000;"&gt;"ActiveX component can't create object: 'WScript.Shell' "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know why i am getting error in 1 document and not in other document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750172#M267622</guid>
      <dc:creator />
      <dc:date>2014-12-17T06:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750173#M267623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check have you install free pdf printer and sample demo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750173#M267623</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-12-17T06:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750174#M267624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;i had check the same code which u have attached , your code is not giving error while running, same code i copied from your document to my document and its showing me the error on this line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set WSHShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;Error : &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: inherit; text-decoration: underline; color: #ff0000;"&gt;"ActiveX component can't create object: 'WScript.Shell' "&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750174#M267624</guid>
      <dc:creator />
      <dc:date>2014-12-17T06:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750175#M267625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is usually due to the Module permissions. Open the Module Editor (Ctrl-m) and select "Allow System Access" in the Current Local Security dropdown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750175#M267625</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-12-17T06:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750176#M267626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob, &lt;/P&gt;&lt;P&gt;Its Working Now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750176#M267626</guid>
      <dc:creator />
      <dc:date>2014-12-17T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750177#M267627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikas, &lt;/P&gt;&lt;P&gt;For your example which PDF Creator Application u have used ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 06:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750177#M267627</guid>
      <dc:creator />
      <dc:date>2014-12-17T06:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750178#M267628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob, I have a question&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;every time I run the macro I get a pop up where it tells me where I should store the file, there is some way to run the default route without having to pop up&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;IMG alt="imagen.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/189474_imagen.png" style="height: 349px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750178#M267628</guid>
      <dc:creator>fabio182</dc:creator>
      <dc:date>2018-01-09T17:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750179#M267629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/2286"&gt;rwunderlich&lt;/A&gt;‌ &lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 29px;"&gt;please your support&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 17:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750179#M267629</guid>
      <dc:creator>fabio182</dc:creator>
      <dc:date>2018-01-09T17:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750180#M267630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the macro you are running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 19:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750180#M267630</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-09T19:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750181#M267631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is macro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 19:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750181#M267631</guid>
      <dc:creator>fabio182</dc:creator>
      <dc:date>2018-01-09T19:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: VB Script Issue in creating WScript.Shell Object</title>
      <link>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750182#M267632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the QlikviewPDF printer is a supported option any more.&amp;nbsp; You may want to try another PDF printer.&amp;nbsp; Also, I suggest opening a new thread here for this question as you may get more responses that way, perhaps from someone still using the QlikvewPDF printer. I don't have it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2018 19:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VB-Script-Issue-in-creating-WScript-Shell-Object/m-p/750182#M267632</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-01-09T19:51:37Z</dc:date>
    </item>
  </channel>
</rss>

