Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translating WSH sample
Message
From
27/07/2001 09:52:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/07/2001 09:42:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00536302
Message ID:
00536368
Views:
9
>Do you mean that you tried to make all the calls on one object and VFP gave an error? What error?
WScript = CREATEOBJECT("WScript.Shell")
WshShell = CreateObject("WScript.Shell")
WshShell.Run("calc")
WScript.Sleep(100)
The fourth line causes the error (translated from Spanish): "OLE Error Code 0x80020006: Unknown Name".

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform