Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Translating WSH sample
Message
De
27/07/2001 10:04:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00536302
Message ID:
00536379
Vues:
9
>>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform