ADC Home > Reference Library > Technical Q&As > Legacy Documents > Carbon >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Q
The General control panel (GCP) in 7.6, 7.6.1 and 8.0 has the document
options: Last folder, Application set folder, and Documents folder. How
can my application determine where this folder is? A The General control panel (GCP) patches FindFolder so it will return
the correct document folder given the current GCP options. Pass
FindFolder a folderType of 'docs '.
One quick note: Because the GCP
patches FindFolder , the createFolder option doesn't work. If the folder
doesn't exist you won't get an error and it won't be created. You have
to write code to determine if the folder actually exist: if it
doesn't, you'll have to create it yourself.[Mar 26 2001] |
|