Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getdir() default to desktop
Message
De
02/02/2007 13:16:34
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01191530
Message ID:
01191921
Vues:
8
Thank you,

Jerry


>>Using VFP9, how can I make the GetDir() default to the user's desktop?
>>
>>I currently use GetDir("c:\SomeDir"), but instead I would like to do something like this, GetDir("user's desktop"). Can this be done?
>>
>>Thanks,
>>
>>Jerry
>
>
>oShell = CREATEOBJ('Shell.Application')
>oFolder = oShell.NameSpace(0)
>
>? GetDir(oFolder.Self.Path)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform