Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call Windows Explorer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00185851
Message ID:
00185981
Vues:
21
>>>I would like to call Windows Explorer from my application
>>>in the Win 95 environment. Any advise on how to go about?
>>>Thanks.
>>
>>The simple way is to call RUN /N c:\windows\explorer.exe - you may consider using the API to get the windows directory first.
>
>It's unnecessary; the Windows and Windows System directories are on the Windows seach path, so the program will be found. Using run fires it in the context of the current working directory.

Hmm. Ignoring the fact that it's unnecessary, I'd have sworn there was a native VFP function to return the Windows directory, a SYS() function if not one with a more 'friendly' name. But I just went searching in help and couldn't find any such thing. Was I having another psychotic episode? (* sigh *)

Rich
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform