Contact Info

Crumbtrail

ActiveXperts.com » Support » Network Component Component » KB Article

Knowledge Base FAQ Item #1320100

 

Q1320100: I'm using Windows 64bit and I'm getting the following error when using your VBScript sample:
    "Microsoft VBScript runtime error: ActiveX component can't create object: 'ActiveXperts.Tcp'".
This applies toall other Network Component objects, and applies for both CSCRIPT.EXE (command-line VBScript interpreter) and WSCRIPT.EXE (GUI VBScript interpreter)

This is due to the fact that Windows uses the 64bit VBScript interpreter (C:\WINDOWS\SYSTEM32\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WSCRIPT.EXE) by default. Since the ActiveXperts Network Component control is a 32bit control, you should invoke the WOW64 subsystem. This means C:\WINDOWS\SYSTEM32\WOW64\CSCRIPT.EXE or C:\WINDOWS\SYSTEM32\WOW64\WSCRIPT.EXE.

(viewed: 1740)