You are here: PSPad forum > English discussion forum > VBScript scripts not installed in Script Menu
Posted by: Geert | Date: 2015-02-25 08:49 | IP: IP Logged
L.S.
This week, all of a sudden, the VBScript scripts are no longer loaded in the Scripts Menu. The JS and Python scripts still are.
I tried several things:
Disable virus checker;
Restart computer;
Remove and re-install PSPad (4.5.8);
All of them of no avail.
My computer runs Windows Vista.
My colleagues running Windows 7 have no problems at all.
Anyone can help me out? Thank you in advance.
Posted by: pspad | Date: 2015-02-25 09:14 | IP: IP Logged
Did you try install new version of Windows Scripting Host? VB scripting is part of the WSH.
Another possibility is that VB Scripts are disabled on your system.
Another possibility is that your VBScript has own folder name for VBScript. Try to run PSPad as administrator using right mouse button. It will allow PSPad to create correct folder name. Check .\Script subfolder.
Posted by: Geert | Date: 2015-02-26 08:29 | IP: IP Logged
Thank you for replying.
Due to company policy, my OS (Windows Vista) has not been updated since september 2014. This applies to WSH too.
The PSPad installation has not been tampered with neither. I checked folders:
the VB scripts are in Script\VBScript.
It looks indeed as if VBScript has been disabled on my machine, but I have no idea how that came about. I explicitly issued the command to enable VBScript. Problem remains.
I am puzzled and so is our IT dept.
Posted by: pspad | Date: 2015-02-26 08:58 | IP: IP Logged
Please check if you have scripting support enabled in PSPad program settings / system integration. I guess you have, cause you wrote only VBScripts are missing.
Posted by: Geert | Date: 2015-02-26 09:39 | IP: IP Logged
You guess correctly.
Script support is enabled in Program Settings,
and only VBScripts are missing.
Posted by: pspad | Date: 2015-02-26 10:08 | IP: IP Logged
It really means VB scripting is disabled in your operating system.
Test please:
Rename Script subfolder in PSPad folder e.g. to Script.old
Run PSPad as admin, it should create new Script folder with subfolders for all supported WSH languages.
Posted by: Geert | Date: 2015-02-26 13:17 | IP: IP Logged
Test executed.
PSPad creates new Script folder with JScript and XML subfolders.
No VBScript folder!
I agree that VBScript must be disabled from some reason, but I cannot guess why. No admin changes made to OS whatsoever.
I tried to re-enable via "regsvr32 vbscript.dll". Problem remains.
Thank you anyway for any help so far.
Posted by: Geert | Date: 2015-02-27 13:51 | IP: IP Logged
The problem has been solved!
This key was missing from my registry:
HKCR\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
Within it, there should be a registry value called (Default) which should carry a Data value of:
C:\Windows\system32\vbscript.dll
Restoring the registry key from another PC did the trick.
PSPad was not to blame. So noted.
Posted by: pspad | Date: 2015-02-27 14:45 | IP: IP Logged
Thank you for your information.
I hope it can be usefull for others.
This registry entry should be created by registering vb script DLL library
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR