Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getdir() default to desktop
Message
 
À
01/02/2007 13:58:31
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:
01191536
Vues:
7
>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
oWs = CREATEOBJECT([WSCRIPT.Shell])
oWs.SpecialFolders([Desktop])
lcFoder =  oWs.SpecialFolders([Desktop])
? GetDir(lcFoder)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform