Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path of
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00586891
Message ID:
00586902
Vues:
19
>Hi, everyone
>
>Q1. How can I get the path of 'Desktop' ?

A couple of ways. You can download my Shortcut Link Files from the files here at the UT. This comes with a help file in VFP syntax that you can cut and paste into your program.

The other option is the Windows Script Host.
oShell = CREATEOBJECT('WScript.Shell')
? oShell.SpecialFolders("Desktop")
* Not supported under Win9x/Me
? oShell.SpecialFolders("AllUsersDesktop")
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform