Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set path ?
Message
 
To
22/09/2005 10:04:45
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01051952
Message ID:
01051956
Views:
7
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform