Super Input Box

Anything VBScript-related, including Windows Script Host, WMI, ADSI, and more.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 9 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
devereux0110
Posts: 38
Last visit: Mon Oct 02, 2017 7:11 am

Super Input Box

Post 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
User avatar
SAPIEN Support Forums
Posts: 945
Last visit: Thu Oct 22, 2015 1:10 pm

Super Input Box

Post 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 ***
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Super Input Box

Post by jvierra »

It should work if you run it in a 32 bit session.
User avatar
devereux0110
Posts: 38
Last visit: Mon Oct 02, 2017 7:11 am

Re: Super Input Box

Post 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
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Super Input Box

Post 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.
User avatar
devereux0110
Posts: 38
Last visit: Mon Oct 02, 2017 7:11 am

Re: Super Input Box

Post 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.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Super Input Box

Post 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
Last edited by jvierra on Thu Mar 05, 2015 10:45 am, edited 1 time in total.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Super Input Box

Post 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.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Super Input Box

Post 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.
User avatar
devereux0110
Posts: 38
Last visit: Mon Oct 02, 2017 7:11 am

Re: Super Input Box

Post 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
This topic is 9 years and 1 week old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked