I am having difficulty in customizing OpenFileDialog box, I want to allow people to select files that are in the same directory from the currently open folders using the OpenFileDialog. I don't want the OpenFileDialog to be able to select stuff outside of the program's current directory
Due to some reason i am not able to post image, what i meant is to lock Top navigation and Side Navigation option in OpenFileDialog box
As far as I know you can only add elements to the standard file dialogs (using some esoteric api calls), but there is no way to remove elements. Your best bet, if you really need this functionality, is to implement your own custom Open File Dialog with the specific business rules you need.
Here are some details on how to do some limited customizations.
http://msdn.microsoft.com/en-us/magazine/cc300434.aspx
http://www.codeproject.com/Articles/16276/Customizing-OpenFileDialog-in-NET
Customizing OpenFileDialog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With