>>It can be confusing for someone without experience in either VB/VBScript. There are some methods, exposed by the WScript object, that aren't available from within VFP. For example, the Error object and the Sleep method.
>
>Did I understand correctly: In this case, some things can be done by creating a script file (as a text-file), and executing it?
>
Hilmar,
Sort of, kind of...
With the Popup method, for example, however, there'd be no way to return the result.
Something like Sleep, OTOH, would work since no value has to be returned. I'd say, however, that it's probably much more efficient to just declare the API call and use that.
BTW, VFP 7.0's Intellisense does a great job of exposing the properties. Since the parameter lists are shown as well, it makes it really easy to deal with
any COM object.
George
Ubi caritas et amor, deus ibi est