Home All Groups Group Topic Archive Search About

Need to save rtf summary information, e.g. right-click document, Properties - Summary

Author
23 Nov 2004 2:06 AM
Steve
Hello,
         I am trying to create a windows form using c# to open and
edit an rtf file. The problem is that the rtf files that I open and
edit have some "Summary" details, like "Title", "Author", "Comments"
etc… These can be viewed by right-clicking on the rtf file selecting
Properties and then Summary.

The problem is that after editing the file and then saving it, (I am
using a RichTextBox control) I lose all of these details, how can I
keep from losing this information?

Thanks in advance for your help,
Steve

Author
24 Nov 2004 12:40 AM
Patrick Blackman
The info is not lost, it is in the rtf header..
Show quote
"Steve" <sbkopp***@hotmail.com> wrote in message
news:a97bf82e.0411221806.1bdbc694@posting.google.com...
> Hello,
>         I am trying to create a windows form using c# to open and
> edit an rtf file. The problem is that the rtf files that I open and
> edit have some "Summary" details, like "Title", "Author", "Comments"
> etc. These can be viewed by right-clicking on the rtf file selecting
> Properties and then Summary.
>
> The problem is that after editing the file and then saving it, (I am
> using a RichTextBox control) I lose all of these details, how can I
> keep from losing this information?
>
> Thanks in advance for your help,
> Steve
Author
24 Nov 2004 9:30 AM
Steve
Hi Patrick, thanks for the response, but I still require a little bit
more information.

You say that the information is not lost, that it is still in the rtf
header, ok, so how do I access this information? Please can you point
me in the right direction, and if you have an example that would be
fantastic.

Thanks a lot,
Steve

Show quote
"Patrick Blackman" <caribs***@videotron.ca> wrote in message news:<#tHMu4b0EHA.824@TK2MSFTNGP11.phx.gbl>...
> The info is not lost, it is in the rtf header..
> "Steve" <sbkopp***@hotmail.com> wrote in message
> news:a97bf82e.0411221806.1bdbc694@posting.google.com...
> > Hello,
> >         I am trying to create a windows form using c# to open and
> > edit an rtf file. The problem is that the rtf files that I open and
> > edit have some "Summary" details, like "Title", "Author", "Comments"
> > etc. These can be viewed by right-clicking on the rtf file selecting
> > Properties and then Summary.
> >
> > The problem is that after editing the file and then saving it, (I am
> > using a RichTextBox control) I lose all of these details, how can I
> > keep from losing this information?
> >
> > Thanks in advance for your help,
> > Steve

AddThis Social Bookmark Button