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
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.
Set Host = CreateObject( “BZWhll.WhllObj” )
FYI: I have done below process:
- Window10 64-bit
- Bluezone v7.1 - Installed 32-bit, 64-bit (Initially installed 64-bit and it not worked. So 32-bit also installed)
- I registered the bzwhll.dll with 32-bit & 64-bit version using System32>regsvr32 filename.dll
- The same code will work in windows7 (v5.2) with .hta/.vbs. problem with windows10.
- 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.