Author: JWJW
Date: May 25, 2008 19:30
I have a program that sets up a base folder from which the program creates a
number of subfolders, i.e. reports, bitmaps, data files, .. etc. that the
program uses to read and write data files to.
I have a dialog that allows the user to change the base to a folder other
than the one I use as the default.
I use SHBrowseForFolder to get the user's selection. This works out fine if
the user is logged in as Administrator, but if the user is logged in other
than Administrator we run into problems. SHBrowseForFolder gives the
limited user visibility to folders that they cannot write to. They can
select the folder but the program cannot set up the base with the folder.
I was hoping to somehow filter out those folders that are unusable to a
particular user, or at least, after the user selects...
|