OnBase supports the use of VB Scripts to optimize certain functionalities in the Client. VB Scripts can be configured to run by clicking toolbar buttons in the OnBase Client, and the end user never has to do any configuration or script writing. VB Scripts are created in the OnBase Configuration module, then associated with the desired toolbar button in the Client module.
Before running VB Scripts, make sure the Microsoft ScriptControl for VB Scripts (msscript.ocx) is present and correctly registered.
-
If you have a 32-bit environment, this file should be present in the Windows system32 directory. To register the file, click and execute this command: regsvr32 msscript.ocx.
-
If you have a 64-bit environment, this file should be present in the Windows SysWOW64 directory. To register the file, you must use the regsvr32 utility residing in C:\Windows\SysWow64 to execute the regsvr32 msscript.ocx command.
If the ScriptControl is not present and correctly registered, you will receive the Unable to load scripting engine error.
The Microsoft ScriptControl can be obtained from Microsoft.