Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set path ?
Message
 
À
22/09/2005 10:04:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01051952
Message ID:
01051956
Vues:
15
>Hi everyone,
>
>How can i make the file path to 'my document' or 'desktop'
>
>*****
>lcDefault=sys(5)+sys(2003)
>Set DEFA TO c:\
>MFILE = GETFILE("XLS","Save as","")
>Set default to (lcDefault)
>*****
>
>I want to get a file from 'my document' or 'desktop'

You can try:
loShell = Createobject('WScript.Shell')
? loShell.SpecialFolders("MyDocuments")
_______________________________________________________________
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