save file TO C:\Documents and Settings\USERID\My Documents\

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an Access application formultiusers that writes a file to
C:\Temp\filename.rtf but now with Windows XP we are not allowed to save any
files to C:\Temp, only can be done to C:\Documents and Settings\USERID\My
Documents\FILENAME.RTF. How can pass that path in Access 2002?
 
Angie said:
I have an Access application formultiusers that writes a file to
C:\Temp\filename.rtf but now with Windows XP we are not allowed to
save any files to C:\Temp, only can be done to C:\Documents and
Settings\USERID\My Documents\FILENAME.RTF. How can pass that path in
Access 2002?

See this link for code to retrieve special folder locations, such as the
path to the user's My Documents folder:

http://www.mvps.org/access/api/api0054.htm
API: Retrieving a Special Folder's location
 
Back
Top