Products Resources Support About Us

Rocket Software

ActiveX component can't create a object:bzwhll.whllobj

Hi Sir,

Your help is very much appreciated. I was struggling from week. I have sample VB script code that have created bzwhll object that will open session & login into bluezone mainframe. The sample code is working from command line
system32>cscript filename.vbs. (It create object, opensession,login to bluezone)
Same script will fail from below run command
syswow64>csript filenam.vbs

The same script I added to .hta file and ran it from win10 OS. I’m receiving “ActiveX component can’t create object bzwhll.whllobj”. It fails at second line in code give below.

Dim Host
Set Host = CreateObject( “BZWhll.WhllObj” )
Retval=Host.OpenSession(0,1,"",5,1)

FYI: I have done below process:

  1. Window10 64-bit
  2. Bluezone v7.1 - Installed 32-bit, 64-bit (Initially installed 64-bit and it not worked. So 32-bit also installed)
  3. I registered the bzwhll.dll with 32-bit & 64-bit version using System32>regsvr32 filename.dll
  4. The same code will work in windows7 (v5.2) with .hta/.vbs. problem with windows10.
  5. Services->ActiveX is running state.
    If i run from .hta it got failed at 2nd line. ActiveX error. But the script is running through .vbs. Is there anything to add in .html file.?

Thank you in Advance.

You may still have two versions of Bluezone installed and registered - but only one of the Bzwhll.dll files will be active. Look in the HKEY_USERS*youruserid*\Software\BlueZone
You should fully uninstall BlueZone, then install the BZ 7.1 for 64 bit desktop version.

by default 64bit windows will run script using 64bit cscript.exe. Open cmd and go to “C:\Windows\SysWOW64” for 32bit programs and “C:\Windows\system32” is for 64bit code - see: https://www.howtogeek.com/326509/whats-the-difference-between-the-system32-and-syswow64-folders-in-windows/

Thanks for your reply. It’s was useful and very much happy for responding. It’s really positive hope.

Still i had same issue. “ActiveX component can’t create a object:Bzwhll.whllobj”. What are possibility of occurring of this error.?

  1. Do i need to update any IE settings.? Like enable ActiveX.

I have Register the Bluezone 64-bit bzwhll.dll with system32>regsrv32.
If i run with sample code inside a .vbs file it is creating the connection using
cmd:system32>cscript filename.vbs
If i run it from .hta then it throw ActiveX error.

FYI - If i run .vbs file with cmd: syswow64>cscript filename.vbs then it throw ActiveX error. Is that some fishy right.? Any problem in running .hta file. The .hta running .vbs script files using syswow64 instead of system32.
Is there any way to run the .vbs script with system32.? I mean any setting to add in .hta file.

If possible please share any mandatory settings that need to be update for creating object bluezone 7.1.6 (64-bit) in windows10 machine.?

Your help is very much needed. I will keep updating.
Thanks.