Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Location of desktop and my docs
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01144183
Message ID:
01144188
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform