limitations of FileDialog1

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

vb.net with winforms 1.1, VS 2003
I am using a FileDialog1 controls in my vb.net application, works like at
charm but there are two things that i want to do that it almost seems i can
not

1. this application is gong to run over Terminal services( remote desktop)
and i dont want to user to access a certain drive, lets say the C:\ drive, is
there any way i can program this control so that it can not see the C drive,
if i am asking for a lot then when the user clicks on the C drive then i want
the filedialog contorl to not take him in it.

2. The file dialog gives several rename\ delete\ create new options when
the user right clicks in it while viewing the file system, i dont want the
user to see these options, how can i do that?


please suggest, do i have to use some other control, make my own or is it
all possible , please suggest.

thanks in advance, waiting for an answer
sameer
 
Hi,

vb.net with winforms 1.1, VS 2003
I am using a FileDialog1 controls in my vb.net application, works like at
charm but there are two things that i want to do that it almost seems i can
not

1. this application is gong to run over Terminal services( remote desktop)
and i dont want to user to access a certain drive, lets say the C:\ drive, is
there any way i can program this control so that it can not see the C drive,
if i am asking for a lot then when the user clicks on the C drive then i want
the filedialog contorl to not take him in it.

2. The file dialog gives several rename\ delete\ create new options when
the user right clicks in it while viewing the file system, i dont want the
user to see these options, how can i do that?


please suggest, do i have to use some other control, make my own or is it
all possible , please suggest.

thanks in advance, waiting for an answer
sameer

What are you trying to accomplish here?

If you don't want the user to see or do anything with it why open it? Write
your own file open dialog with the restrictions you require.
Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 
Otis,

what i am really trying to accomplish here is to restrict the users access
to the local drives of the server if the application is runnig in terminal
services,what the user will see is only the drives of his machine (which
terminal services automatilcally shows) but i dont beleive that i will have
to write down all that code to do something so simple.

thanks
 
Otis,

what i am really trying to accomplish here is to restrict the users access
to the local drives of the server if the application is runnig in terminal
services,what the user will see is only the drives of his machine (which
terminal services automatilcally shows) but i dont beleive that i will have
to write down all that code to do something so simple.

thanks

Seems to me this could be handled by setting the permissions on the drive in
question to only allow certain users to access it. Although they will see it
they won't be able to do anything with it.

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 
I'm not sure about terminal services, but our Dialog Workshop .NET dialog
components allow you to restrict user access to folders.

Using CaFileDialog.FolderChange event, you can determine currently selected
folder and if you want to restrict acces to it, display message box or open
other folder, etc.

It depends on your exact requirements, so I can not provide final solution.

Anyway, please visit http://www.componentage.com for details
You can download Dialog Workshop .NET from this site.

Alex
 
Back
Top