login about faq

How do I run VBScript in 32-bit mode to create a 32-bit ActiveX on 64-bit Windows?

asked May 20 '15 at 09:11

chilkat's gravatar image

chilkat ♦♦

Create two files: A runMyVbs.bat and a myVbs.vbs. The .bat script runs the .vbs using the 32-bit cscript.

The contents of the runMyVbs.bat would look like this:

REM This is the 32-bit cscript.
C:\windows\sysWOW64\cscript myVbs.vbs

The contents of the myVbs.vbs would look like this:

set xml = CreateObject("Chilkat_9_5_0.Xml")
MsgBox xml.Version

This is assuming the Chilkat 32-bit ActiveX DLL has been registered on the 64-bit Windows system.


answered May 20 '15 at 09:14

chilkat's gravatar image

chilkat ♦♦

edited May 20 '15 at 09:14

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: May 20 '15 at 09:11

Seen: 3,022 times

Last updated: May 20 '15 at 09:14

powered by OSQA