Page 1 of 2

Super Input Box

Posted: Thu Mar 05, 2015 6:36 am
by devereux0110
Just updating our system
We are moving to Server 2012 R2 and Windows 7 or 8 64bit clients.

We have a bit of scripting created in VBS using the SuperInputBox.dll however have just found you cannot use this on the Server 2012 R2 64bit machine.

Is there an updated version or another product anyone knows of that we can use for similar results

Ta for any suggestions

Super Input Box

Posted: Thu Mar 05, 2015 6:36 am
by SAPIEN Support Forums
This is an automated post. A real person will respond soon.

Thank you for posting, devereux0110.

Here are some hints to help you get an accurate and complete answer to your question.

Ask in the best forum: If you asked in the wrong forum, just copy your question to the right forum.

Anticipate follow-up questions!

Did you remember to include the following?
  • 1. Product, version and build
    2. 32 or 64 bit product
    3. Operating system, e.g. Windows 7 64 bit.
    4. Attach a screenshot, if applicable
    5. Attach logs, crash reports, etc., in a ZIP file
If not, please take a moment to edit your original post or reply to this one.

*** Make sure you do not post any licensing information ***

Re: Super Input Box

Posted: Thu Mar 05, 2015 6:57 am
by jvierra
It should work if you run it in a 32 bit session.

Re: Super Input Box

Posted: Thu Mar 05, 2015 7:20 am
by devereux0110
Did this and received the message

The Module "SuperInputBox.all" failed to load

Make sure the binary at the specified path or debug it to check for problems with the binary or dependant .DLL files

The specified module could not be found.



I have the following files in the system32 folder
superinputbox.dll
superinputbox.exp
superinputbox.lib

open command prompt as administrator and enter
cd\windows\syswow64superinputbox
regsvr32 C:\windows\system32\SuperInputBox.dll

New server is 64bit Windows 2012 R2

Re: Super Input Box

Posted: Thu Mar 05, 2015 7:55 am
by jvierra
It has to be registered.
THe system32 folder is NOT the 32 bit system. It is the 64 bit system.

SysWow64 is the 64 bit system.

s this a net assembly? If so it has to be registered with REgAsm, If not then it is registered with regsvr32 in the SysWow64 folder.

Re: Super Input Box

Posted: Thu Mar 05, 2015 10:22 am
by devereux0110
I have tried registering the dll using the regsvr32 in the SysWow64 folder.

This is when I receive this message
I am opening a cmd as administrator
Going to the SysWow64 folder (cd c:\windows\syswow64), and then running the command
regsvr32 C:\windows\system32\SuperInputBox.dll

therefore using the regsvr32 in the SysWow64 folder to register the dll

I understand the system 32 folder is not the 32 bit system, it is just the location where I have placed the files. (and Where we have always placed the files)

It doesn't work, I get the error message as described
I don't know if it is net assembly, however we have always placed the files in the system 32 folder and have always registered the file using the command
regsvr32 SuperInputBox.dll

with no problems at all when we where on Windows XP, Windows 7 32bit clients.

Re: Super Input Box

Posted: Thu Mar 05, 2015 10:42 am
by jvierra
Do NOT put the files in the system32 folder. It will not work as you want.

Place the files in your owne folder or in Prpgrma Files (x86)\SuperInpuBox

OPen a 32 bit session like this:

c:\Windows\SysWow64\CMD



To verify that you are at a 32 bit prompt do this:

cd %programfiles%
C:\Program Files (x86)>echo %programfiles%
C:\Program Files (x86)


now go to new folder:
cd SuperInputBox

Now register

regsvr32 SuperInputBox.dll

Re: Super Input Box

Posted: Thu Mar 05, 2015 10:45 am
by jvierra
devereux0110 wrote: we have always placed the files in the system 32 folder and have always registered the file using the command
regsvr32 SuperInputBox.dll

with no problems at all when we where on Windows XP, Windows 7 32bit clients.
That indicates that it is not a Net assembly and RegSvr32 will work if run from a 32 bit session.

Re: Super Input Box

Posted: Thu Mar 05, 2015 10:51 am
by jvierra
Note that you cannot store things in the 64 bit subsystem and have them visible from the 32 bit system. You are not ever supposed to store programs in the system area. I know up through XP everyone did this. Since Vista Microsoft has changed the rules. Vendors must not use the system areas.

When a 32 bit system uses the registry for a DLL the system only looks at the path in the registry. If you look you will see it was registered in %windir%\System32 But a 32 bit process sees that by looking only in %windir%\SysWow64.

By giving the module its own home we can make it available under any circumstances.

Re: Super Input Box

Posted: Fri Mar 06, 2015 12:19 am
by devereux0110
Super, that bit now works

Just stuck with having to open a 32bit cmd in the wowsys64 folder and dragging the vbs into the cmd to run it.
Is there any way that a vbs can be run in 32bit mode from double clicking it from its folder?

Ta