Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving files on the desktop
Message
De
09/05/2008 02:32:02
Neil Mc Donald
Cencom Systems P/L
The Sun, Australie
 
 
À
08/05/2008 08:23:13
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01315523
Message ID:
01316021
Vues:
15
Agnes,
Why would you redirect, and if so where to. And how would windows find its contents.

>Neil,
>
>GETENV("USERPROFILE") + "\DESKTOP\"
>
>is only the "normal" location. One can redirect.
>
>Agnes
>>Hi,
>>A better way:
>>
>>lcFile="YourFile.doc"
>>lnFileHandle=FCREATE(GETENV("USERPROFILE") + "\DESKTOP\" + lcFile,0)
>>lnSuccess=FCLOSE(lnFileHandle)
>>
>>
>>>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
Regards N Mc Donald
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform