Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving files on the desktop
Message
From
07/05/2008 03:37:00
 
 
To
07/05/2008 03:10:49
Jill Derickson
Software Specialties
Saipan, CNMI
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01315523
Message ID:
01315526
Views:
15
>Hi,
>
>I have a pretty un-computer literate client (a lawyer), and the system i wrote for him generates a Word Document that he wants to access easily. He is suggesting that I save the file on his desktop (he will be doing this rarely).
>
>Is there a way i can save a file to the desktop in VFP?
>
>Thanks, Jill

loShell = CreateObject ('WScript.Shell')
lcDesktop = loShell.SpecialFolders('desktop')

will give you the desktop path. The you can save a file there.

Nick
Previous
Reply
Map
View

Click here to load this message in the networking platform