I have a bunch of .vbs script files from Billsway and Doug Knox which I use
on occasion and I have just discovered that almost all of them don't work
anymore. When I try to run one now I get one of two error messages:
Script: C:\Windows\Desktop\Shutdown Timer.vbs
Line: 7
Char: 1
Error: ActiveX component cannot create object "WScriptShell"
Code: 800A01AD
Source: Microsoft VBScript runtime error
or
Script: C:\Windows\Desktop\DUN MENU.VBS
Line: 13
Char: 10
Error: Could not create object named "WScript.Shell"
Code: 80040154
Source: WScript CreateObject
The one file I have used most often (random password generator from
Billsway) works fine, but the others do not. I have downloaded fresh copies
and the results are the same. Updated NAV and Ad-aware scans show nothing.
All the other programs on my computer are running fine, including those
which require Visual Basic Runtime files. No other apparent problems. I
occasionally write little .vbs scripts for reminders and these work fine as
well. I have done some searching in the KB and haven't really found anything
that pertains specifically to my problem and what I have found is pretty
much beyond me. I have discovered that the error "80040154" apparently
refers to "class not registered" and I have found that a newer version of
WindowsScriptingHost 5.6 (published 06/09/03) is available at
http://www.microsoft.com/downloads/details.aspx?FamilyId=0A8A18F6-249C-4A72-
BFCF-FC6AF26DC390&displaylang=en
I was thinking of reinstalling the version of WindowsScriptingHost 5.6 that
I have installed now (downloaded and installed 08/02) or installing the
newer version. Before I tried anything though, I thought I'd see if anyone
had any suggestions or comments as I don't really have a clue.
Thanks.
Winme
IE 5.5 (all available updates applied)
WindowsScriptingHost 5.6 (downloaded and installed 08/02)
Visual Basic Runtime 6.0sp5
Windows Installer 2.0
MDAC 2.5