<?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 AW:Batch vbscript for 64-bit server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203632#M1285062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to schedule it like this:&lt;/P&gt;&lt;P&gt;C:\Windows\SysWow64\csript.exe C:\full_path\Run_Backup.vbs&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jun 2010 10:03:31 GMT</pubDate>
    <dc:creator>biester</dc:creator>
    <dc:date>2010-06-10T10:03:31Z</dc:date>
    <item>
      <title>Batch vbscript for 64-bit server</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203631#M1285058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a vbscript to run an application in publisher that has a macro. After many posting I understand that to invoke&lt;/P&gt;&lt;P&gt;a macro it requires an external program. I have found several good examples in several postings.&lt;/P&gt;&lt;P&gt;I have been able to develop this .vbs and it can run from the desktop, but when scheduled I get a "not a valid Win32 application" error.&lt;/P&gt;&lt;P&gt;The error when run from Publisher as an external program follows:&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:06) Information: Executing ClusterID=1, QDSID=e1138bad-f329-58ff-bb28-5b56374802c7 QDSMain.ExternalProgramTask&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:06) Information: Starting task "Run backup VBS" (Attempt 1 of 1)&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:06) Information: Max run time: 1.00:00:00&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:06) Information: Executing D:\Qlikview\applications\qa\bi\qv\staging\Run_Backup.vbs&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:06) Information: Executing commandline: "D:\Qlikview\applications\qa\bi\qv\staging\Run_Backup.vbs" in folder "D:\Qlikview\applications\qa\bi\qv\staging".&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:07) Error: Exception=System.ComponentModel.Win32Exception: The specified executable is not a valid Win32 application.&lt;/P&gt;&lt;P&gt;(2010-06-09 16:51:07) Error: at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;The VBScript: Run_Backup.vbs follows:&lt;/P&gt;&lt;P&gt;Set MyApp = CreateObject("QlikTech.QlikView")&lt;/P&gt;&lt;P&gt;Set MyDoc = MyApp.OpenDoc ("D:\Qlikview\applications\qa\bi\qv\staging\BackupDir.qvw","","")&lt;/P&gt;&lt;P&gt;Set ActiveDocument = MyDoc&lt;/P&gt;&lt;P&gt;ActiveDocument.Reload&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("BU01").Press&lt;/P&gt;&lt;P&gt;Set MyDoc = Nothing&lt;/P&gt;&lt;P&gt;MyApp.Quit&lt;/P&gt;&lt;P&gt;Set MyApp = Nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The server is a 64-bit machine so what changes must I make to the .vbs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Haralds&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203631#M1285058</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>AW:Batch vbscript for 64-bit server</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203632#M1285062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to schedule it like this:&lt;/P&gt;&lt;P&gt;C:\Windows\SysWow64\csript.exe C:\full_path\Run_Backup.vbs&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 10:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203632#M1285062</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2010-06-10T10:03:31Z</dc:date>
    </item>
    <item>
      <title>Batch vbscript for 64-bit server</title>
      <link>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203633#M1285064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error speaks for itself:&lt;/P&gt;&lt;P&gt;"The specified executable is not a valid Win32 application"&lt;/P&gt;&lt;P&gt;.vbs scripts are run in a separate host environment, wscript or cscript. As biester suggests - run the script with the cscript engine.&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jun 2010 10:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Batch-vbscript-for-64-bit-server/m-p/203633#M1285064</guid>
      <dc:creator>StefanBackstrand</dc:creator>
      <dc:date>2010-06-10T10:19:59Z</dc:date>
    </item>
  </channel>
</rss>

