How to Run 32-bit vs 64-bit VBScript

To run a .vbs VBScript explicitly as either a 32-bit or 64-bit process on a 64-bit Windows system, you need to specify which version of the Windows Script Host (wscript or cscript) to use. By default, the script runs using the version of the Windows Script Host that matches the bitness of the environment in which it is invoked (32-bit […]

Error: This operation is not supported with BTT enabled

I haven’t seen this error before.  A Chilkat user reported it, and then quickly found the answer: When trying to Create the Chilkat_9_5_0.http object with this example: https://www.example-code.com/vbscript/curl_username_password.asp , there’s a message that the ActiveX Component can’t create it, because “System:  This operation is not supported with BTT enabled.” The cause of the problem had to do with a 32-bit/64-bit […]

Install 32-bit ActiveX and Verify Install

This post shows how to install the 32-bit Chilkat ActiveX using the 32-bit MSI installer here:   https://www.chilkatsoft.com/downloads_ActiveX.asp Step 1. Download and run the MSI installer. Step 2. In Windows Explorer, navigate to C:\Program Files (x86)\Chilkat Software, Inc\Chilkat 32-bit ActiveX Double-click on CheckChilkatActiveX.exe  You should see the following dialog: Step 3. Choose an ActiveX class from the “Choose an ActiveX Object” dropdown.  For […]

Running VBScript 32-bit or 64-bit

When running a VBScript, on a 64-bit Windows system it is possible to run either as a 32-bit process, or a 64-bit process. If running 32-bit, then you need the 32-bit ActiveX. If running 64-bit, then you need the 64-bit ActiveX. To run a 32-bit VBScript on a 64-bit system, you do this: REM This is the 32-bit cscript. C:\windows\sysWOW64\cscript […]

Matching DES Encryption in Java and VBScript

This page shows both Java JCE DES encryption examples, as well as examples using the Chilkat Encryption component in both Java and VBScript. Each of these examples produces identical output: The string: ABC123 encrypts to 6DA02B6AE1EA32D8 (as a hexidecimalized string) Java bytes-to-hex Encoding Utility Function public static String toHex (byte buf[]) { StringBuffer strbuf = new StringBuffer(buf.length * 2); int […]