Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Desktop Link
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00394305
Message ID:
00395363
Views:
10
>The Windows Scripting Host did not ship with either Win95 or WinNT, and only version 1.0 shipped with Win98, and was an optional component to install. Win2K was the first OS to ship with WSH 2.0 as a normal part of the OS distribution. It can be added by installation from a number of sources, the best of which is the self-extracting executable available from the MS web site. There's a link to it in my signature block.
>
>The WSH is a set of tools to permit creation and execution of scripts for the WIndows environment; it includes direct support for scripting with VBScript or JScript, as well as providing a number of COM objects which can be used from VFP. The COM objects that ship with it expose a number of Win32 APIs via COM, letting VFP use them much more easily than either implementing calls into the API using DECLARE...DLL or writing C-style DLLs or FLLs to provide similar functionality. There are a number of sites that cover the WSH extensively in my signature block.
>
>The IShellLink API, used to manipulate shortcuts, is exposed through COM by the Wscript.Shell COM object's CreateShortcut method. George wrote a C-style DLL with similar functionality to this one method of the WSH's Wscript.Shell object that can be called from VFP; it requires that George's .DLL ships with the VFP app, but does not require that the WSH gets installed on each target system. OTOH, it doesn't offer the rest of the WSH features.
>


Thanks for the info, Ed. I'll check out some of links from your signature block to find out more.
Al Williams

Anola MB, CANADA
Previous
Reply
Map
View

Click here to load this message in the networking platform