Hi everyone,
I'm doing an hotel application which has an introduction form. In that form I put a RichTextBox control and a menu toolstrip. I want to load a rtf file to richtextbox when the toolstrip is clicked (The file is a default file chosen by my choice). I can let the user choose the file and open it it richtextbox, but to load a default file I can't do. Can anyone give me a suggestion on how to do it?
Thank you very much.

Why doesnt it work - what exactly goes wrong? What code are you using?

hi
partially i didn`t inderstand u :)

if u wanna load rft file so u can use RichTextBox control :

richTextBox1.LoadFile(String Path,RichTextBoxStreamType.RichText);

that i tested but ther is more

bye

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.