openFileDialog and saveFileDialog InitialDirectory

J

JB

Is there a simple workaround for the limitation in open/save FileDialog
that doesn't allow to use a directory NOT under \\MyDocuments? I want my
users to be able to read/write to, say, \\Program Files\\MyApp by
navigating with a dialog like open/saveFileDialog (and don't want to pay to
a third party to use their library :).

If no workaround, how do I show a directory tree? (I'll create my own
openFileDialog/saveFileDialog, thus sadly reinventing the wheel)
:(


Thanks.
JB
 
M

Mark Johnson

As far as I know there is no workaraound, since they are trying to force the
use of \\MyDocuments logic.
Unfortunatly \\MyDocuments\\MyCompany\\MyApplication is also not supported
which is a pain.
So you must use \\MyDocuments or \\MyDocuments\\MyCompany or the SD-Card
(forgot the english name for that).
You can (and must) copy things like DataBases from \\Program Files\\MyApp
to \\MyDocuments\\MyApp and then read/search for it.

Hope this helps.

Mark Johnson, Berlin Germany
(e-mail address removed)
 
J

JB

OK, thanks...

As far as I know there is no workaraound, since they are trying to
force the use of \\MyDocuments logic.
Unfortunatly \\MyDocuments\\MyCompany\\MyApplication is also not
supported which is a pain.
So you must use \\MyDocuments or \\MyDocuments\\MyCompany or the
SD-Card (forgot the english name for that).
You can (and must) copy things like DataBases from \\Program
Files\\MyApp to \\MyDocuments\\MyApp and then read/search for it.

Hope this helps.

Mark Johnson, Berlin Germany
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top