Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / July 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Angie - 29 Jul 2005 14:09 GMT
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?
Alex Dybenko - 29 Jul 2005 15:02 GMT
You can get Temp folder path as:
Environ("Temp")

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

>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?
Dirk Goldgar - 29 Jul 2005 15:19 GMT
> 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

Signature

Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.