0

I want to build something where the user to browse the local files on the application I am providing, the screen is actually identical to OpenFileDialog, but I do not want that to be a dialog but a control on my form.

I tried to use a Web Browser control, it works, but I have to write a bunch of navigation code in order for that to work, and another problem is if the user selected any files on that screen, I am not sure how to capture the results.

So is there another way to do that? Or maybe override some of the OpenFileDialog control to make it not only showing as a dialog but a normal control.

Thanks

3 Answers 3

1

Maybe something like this is what you are looking for:

It uses the tree view.

http://www.codeproject.com/KB/cs/TreeViewFileExplorer.aspx

Sign up to request clarification or add additional context in comments.

Comments

0

It's better to use the openfiledialog and attempt to ownerdraw that (which I think you can enable).

Comments

0

Use controls from Shell MegaPack - they can be put on your own forms, and provide lots of customization and flexibility.

DISCLAIMER: I work for LogicNP Software, the developer of Shell MegaPack.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.