Fixed path for File Open/Save Dialog....
-
Is it possible to fix the directory of the File Open/Save dialog and NOT allow the user to change it ? For example: c:\fixeddiretory
-
Is it possible to fix the directory of the File Open/Save dialog and NOT allow the user to change it ? For example: c:\fixeddiretory
That's not supported in the standard OpenFileDialog. You can set the InitialDirectory property to the path you want, but you can't prevent the user from navigating out of it. You could implment your own OpenFileDialog class by inheriting from CommonDialog and writing you own control from there. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
That's not supported in the standard OpenFileDialog. You can set the InitialDirectory property to the path you want, but you can't prevent the user from navigating out of it. You could implment your own OpenFileDialog class by inheriting from CommonDialog and writing you own control from there. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Do you know of any examples ? or know where to start ?
-
Do you know of any examples ? or know where to start ?
Or you can use .NET components such as FileListBox, DirListBox, DriveListBox chatura
-
Is it possible to fix the directory of the File Open/Save dialog and NOT allow the user to change it ? For example: c:\fixeddiretory