Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get path to the current desktop
Message
 
À
29/09/2006 00:04:37
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01158045
Message ID:
01158067
Vues:
24
>hi all,
>My program makes a txt file which i would like to place on the desktop for easy and immediate location by the user.
>
>How can i know the path to the desktop ?
oShell = CREATEOBJ('Shell.Application')
oFolder = oShell.NameSpace(0x10)
? oFolder.Self.Name, oFolder.Self.Path
For more info see FAQ #16022.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform