Rich text file

  • Thread starter Thread starter Peter Proost
  • Start date Start date
P

Peter Proost

Hi

place a richtextbox on a form and the check out the
richtextbox.savefile(filename) method,
you can combine it with a savefiledialog like this.

<<<<<<code>>>>>>>

Dim dlg as New savefiledialog()
dlg.filter = "Rtf files (*.rtf)|*.rtf"
dlg.checkpathexists = true
dlg.DefaultExt = ".rtf"
if dlg.showdialog = dialogresult.ok then
richtextbox.savefile(dlg.filename)
end if

<<<<<<End code>>>>>>>>

Hope this helps

Peter
 
tulasi said:
How to Create RTF(Rich Text Format files) Files in
VB.Net

Take a look at the RichTextBox control.

BTW: Your system date is wrong...
 
hello,
Any one help me,
How to Create RTF(Rich Text Format files) Files in
VB.Net
If any one know then Please send me Source code or Any related links
Thank u
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top