Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Location of desktop and my docs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01144183
Message ID:
01144188
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
Something like this:
#define CSIDL_DESKTOPDIRECTORY         16  &&Desktop Folder
#define CSIDL_COMMON_DESKTOPDIRECTORY  25  &&Common Desktop Folder
#define CSIDL_PERSONAL                 5   &&Personal Documents Folder

cSpecialFolderPath = space(255)
DECLARE SHGetSpecialFolderPath IN SHELL32.DLL ;
      LONG hwndOwner, ;
      STRING @cSpecialFolderPath, ;
      LONG  nWhichFolder
 SHGetSpecialFolderPath(0, @cSpecialFolderPath, CSIDL_DESKTOPDIRECTORY)
?SubStr(RTrim(cSpecialFolderPath),1, Len(RTrim(cSpecialFolderPath))-1)
>hi all,
>I am trying to automatically save an excel file onto someone's desktop and their my documents folder. i had a look through sys() but there was nothing that i could see in there, is there an easy way to do this?
>~M
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform