TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bagzli
NA
36
23.3k
Rich Text Save
Sep 15 2012 3:11 PM
Hello,
I was wondering if anyone would know a very smart way of me being able to save font settings on a large document.
Example:
I am creating a program which has rich text box. In this text box (which is multi line and long) the user can have a title of a font he chooses, the size he choose and etc... So basically like mini word document, just not as many functions. I'm thinking they can change the font size, font name, bold, italic, underline, and color. Very basic editing functions of a word document. Now I can achieve this with a rich text box. My problem is being able to save this and have it load the next time program is started. For one I don't know how I would go about saving this kind of information. Do I use a log file and every time there is a change to the font I note and next time program loads it goes through the log and notes the changes (Seems like a lot of unnecessary work) or is there a way to save it as it is and have it load as it is on next try. Would I use a database, Access (Would be preferred method, i noticed there is a rich text option. Also I usually work with .mdb files rather than .accdb)? or maybe use a random file to achieve this?
Please can somebody explain me how I can manage this.
Last question is, is there a way for me to implement for the user to have an option to add a table to this as well or an image? But this is less important, we can focus on the discussion of the first question. Its just something I considered adding down the road.
Reply
Answers (
4
)
asp.net 3.5 Framework new features
C# 2008 app