Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Definition *wscript.shell* not found
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00357525
Message ID:
00357620
Views:
21
>Win2k does it, Bruce. I think Win98SE as well. However, I believe that IE5 doesn't. From what I recall, if the system doesn't have it, and you're running IE 5, then you need to unistall IE 5, install IE 4, then re-install IE 5. It comes with IE 4. Of course, given the above, it'd be a lot easier just to do an install from the files at the MS site. One of the files you can check for is the wscript.exe file in the windows directory. There's also cscript.exe (which provides the console compliment to wscript.exe). While it's not a 100% reliable indication, the presence of this file can be used as an indicator. If it's not present, then WSH hasn't been installed. If it is, then the registry can be used to confirm its presence. I think just looking for the a key with the .vbs extension under HKEY_CLASSES_ROOT, might be next or looking in the SYSTEM directory for VBSCRIPT.DLL.

Okay, thanks guys. I'll find out for sure about IE5.01 tonight. We're doing an overnight load of Outlook2K/IE5 tonight, and I found a user without WSH (and IE4 only) and will check tomorrow to see if it gets installed. That would be great, since our entire agency is moving to IE5 in the next few weeks, so WSH would be guaranteed. If it doesn't - well, there's no harm in waiting till tomorrow to check it.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform