I hav, a couple of times the last week, pointed out some trouble I am
experiencing with several scripts, loaded under window-eyes. This has been done
on the main list. I decided to take it all over at this list, hoping someone
could get an idea, what could be the trouble of mine, particularly, with the
newest discovery of today:
In a lot of cases, when trying to run several of the scripts from SC,
GWToolkit, Install packages, SecondGlass etc, I get an error message. What I
realized today, is that all of them tell that the object WScript.Shell, cannot
be created. I decided to give this a very simple try, hence created a one-line
script reading as follows, and saving it as test.vbs. Upon trying to run it I
got the below quoted error message; quite similar to the one I get when trying
to run SecondGlass or the similar:
---The test.vbs script reads:----
Dim shellObj : Set shellObj = CreateObject("WScript.Shell")
------
---Here is the resulting error message---
Windows Script Host
Script: E:\Scripts\test.vbs
Line: 1
Char: 16
Error: ActiveX component can't create object: 'WScript.Shell'
Code: 800A01AD
Source: Microsoft VBScript runtime error
OK
------
Could it be, that any scripting host file - the one that holds the WScript
object - would be corrupted, or missing on my system? From the Error message,
quoted above, I get a feeling of some activeX missing, but what do I know....?
:) Ok, this trouble started about a week or two ago, so most truly, we would be
talking a corrupt file? Maybe I am totally off track, but just wondered, since
this happened all that certain, back then. In case, which file would be the one
to check? Is it possible to reinstall the VBS engine under Win XP Pro, without
reinstalling the whole operating system?
Thanks for all ideas, and feedback!