By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,247 Members | 1,057 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,247 IT Pros & Developers. It's quick & easy.

Problems with file saving

P: n/a
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.
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.