By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,029 Members | 1,330 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,029 IT Pros & Developers. It's quick & easy.

lock down file access

P: n/a
I have a system that is locked down so the user can not even use windows
explorer. But I need to user be able to save a wordpad file to the hard
drive. I want to assign a particular directory to save through the
application.

Do I have a way to write a notepad or wordpad app that can only save file to
for exaample e:\joe.

Thanks!

Greg
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Yes, that is easy

You have the NoChangeDirectory in the FileOpen/Save dialogs & you can assign
'WriteOnly' permissions to that file, so, they are able to save that file to
the directory you specify.
Nov 21 '05 #2

P: n/a
My guess if no one respond, then I just write my own save dialog.
"Greg Chu" <gr******@wendys.com> wrote in message
news:eu**************@TK2MSFTNGP09.phx.gbl...
I used fileopendialog and filesavedialog, but I could not find the options
you specified.
please post a sample code.

Thanks!

Greg
"Crouchie1998" <cr**********@discussions.microsoft.com> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
Yes, that is easy

You have the NoChangeDirectory in the FileOpen/Save dialogs & you can
assign
'WriteOnly' permissions to that file, so, they are able to save that file
to
the directory you specify.


Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.