Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Translating WSH sample
Message
From
27/07/2001 10:04:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00536302
Message ID:
00536379
Views:
8
>>Yes, thank you, this version works. Did I understand correctly, that every reference to WScript (at the beginning of the line) in the samples has to be converted to an Windows-API call?
>
>Yes, I have it found at "Q259103 - HOWTO: Use the Windows Scripting Host to Automate an Application". It seems to be that Wscript object accesible only inside the Windows Script Host and not creatable by OLE.

Thanks, again. Now, having to invoke the WinAPI for different functions looks too complicated to me. It seems to me I should rather a) Run scripts directly (for instance, I can create a file with Visual FoxPro - copy the samples, as is, for a start - and run it), or b) Study the WinAPI, and run it without the W. Scripting Host.

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