|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to create a RTF file?Hi,
Do you know how to create a RTF file? Do I have to use a third party component? Thanks, Dennis Huang Hello,
There is the RichTextBox control that can be used in your application. I believe it is loaded in the Visual Studio Toolbox by default, you will need to scroll down a bit. If this doesn't answer your question, please add more specifics on what you need. Take care, -- Tom Krueger Smart Client DevCenter - http://msdn.microsoft.com/smartclient/ Mobile DevCenter - http://msdn.microsoft.com/mobility This posting is provided "as is" with no warranties and confers no rights. "BVM" <Denn***@TBH.com.au> wrote in message news:OveJTFb0EHA.1152@TK2MSFTNGP14.phx.gbl... Do you know how to create a RTF file? Do I have to use a third party component?Hi, Thanks, Dennis Huang "BVM" <Denn***@TBH.com.au> schrieb: Untested: Place a hidden richtextbox control on the form and use its >Do you know how to create a RTF file? Do I have to use a third party >component? 'Selection*' properties to construct the document. This should work for "simple" RTF documents. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> Hi Dennis,
Well, you could use a RichTextBox object and use its SaveFile method specifying which RTF format you want. On Wed, 24 Nov 2004 10:08:18 +1100, BVM <Denn***@TBH.com.au> wrote: Show quote > Hi, > > Do you know how to create a RTF file? Do I have to use a third party > component? > > Thanks, > > Dennis Huang -- Happy Coding! Morten Wennevik [C# MVP] Thanks, Morten, Tom & Herfried.
Can I attach files to the RTF files, like attachment in email? Dennis "Morten Wennevik" <MortenWenne***@hotmail.com> wrote in message news:opshxxtj1iklbvpo@pbn_computer...Show quote > Hi Dennis, > > Well, you could use a RichTextBox object and use its SaveFile method > specifying which RTF format you want. > > > On Wed, 24 Nov 2004 10:08:18 +1100, BVM <Denn***@TBH.com.au> wrote: > >> Hi, >> >> Do you know how to create a RTF file? Do I have to use a third party >> component? >> >> Thanks, >> >> Dennis Huang > > > -- > Happy Coding! > Morten Wennevik [C# MVP] >"BVM" <Denn***@TBH.com.au> wrote in message An RTF file is plain text marked up with RTF tags. The specification is in >news:OveJTFb0EHA.1152@TK2MSFTNGP14.phx.gbl... > Do you know how to create a RTF file? Do I have to use a third party > component? MSDN. So one way is to generate your own RTF and write it out. Tim ..NET pros and cons http://www.itwriting.com/phorum/list.php?f=6 |
|||||||||||||||||||||||