Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set WSHShell = WScript.CreateObject("WScript.Shell")

101 views
Skip to first unread message

Your Name Here

unread,
Nov 20, 1999, 3:00:00 AM11/20/99
to
Set WSHShell = WScript.CreateObject("WScript.Shell")

produces the following error

object required 'WScript'


What am I doing wrong?

I do not know what registration means. Does this have something to do
with the problem?


Helbig Frank

unread,
Nov 22, 1999, 3:00:00 AM11/22/99
to
Did You install the Scripting Host by executing the "exe"-file (forinstance
ste51en.exe) or did You only copy the files from one machine to another ?
The installation process makes registry entries like this you find under
HKEY_CLASSES_ROOT:
wscript.shell -> reference to wshom.ocx (InProcServer32) or
wscript.network -> reference to wshom.ocx (InProcServer32) too
Take the registry editor "regedit.exe" and search for "wscript.shell" or
further for "wscript.network". If you find nothing reinstall the Scripting
Host.

Regards
Frank Helbig


Your Name Here schrieb in Nachricht <815p5...@enews2.newsguy.com>...

0 new messages