|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Need to save rtf summary information, e.g. right-click document, Properties - SummaryHello,
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 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 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 |
|||||||||||||||||||||||