Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What do I wan't to achieve?
I want to read a file on Button Click and paste it into a RichTextBox. I would then like to be able to edit this and save it.

What doesn't work?
Unfortunately, I don't know which method to use.
I thought about FileDialog, but I don't want to search for the file and then open it with a click. Instead, the file is predefined and should be opened with a click and inserted into the text box.

What I have tried:

FileDialog but this is not what I had in mind and I would like to avoid this.<
Posted
Updated 2-May-21 10:10am

1 solution

 
Share this answer
 
Comments
zTrusted WF 2-May-21 16:17pm    
Perfect, thank you very much! That's what I searched.
OriginalGriff 2-May-21 16:26pm    
You're welcome!

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