Click here to Skip to main content
15,877,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all.

When you set the filename property in a RichTextBox control at design time, it shows a common dialog box that allows you to select the file. All I want to know is how to do this from my own usercontrol. I tried editing the procedure attribute's "Use This Page In Property Browser" setting, but unfortunately it seems to be able to show every dialog box except the regular file one.

Thanks in advance.

1 solution

Create an OpenFileDialog control and show it.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900