Hi David,
"David Johnston" <ox*****@adelphia.net> wrote in message
news:05****************************@phx.gbl...
I am converting to the .NET platform and I am starting with
C#. Just for exercise I'm writing a text editor and I am
having some problems with saving files. I am using a
single document interface system. I am just working with
plain text now but I was wondering what differences I would
have to make to save between .txt, .rtf, or even .doc if
possible. Thanks for any help you could give or examples
you could point me to . Thanks again.
The problem is to format the content.
While txt is trivial - plain text, rtf is formatted - you might use
RichTextBox for formatting it properly.
..doc, if you are talking Word is very difficult to write, partly because it
is not open to public and partly because it uses some Windows APIs to format
the file. If you want the easy way, you might look at Word automation
http://support.microsoft.com/default...Product=vcSnet
--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
www.rhand.com