Can you get access to the rich text in Task.Notes through the Project Object Model?

T

tcoalson

I'm trying to display Task Notes in a rich text box in a Windows Form,
allow the notes to be edited, and then save them back as Rich Text.
Can this be done through the Project Object Model? It appears that
Task.Notes only delivers the text portion of the Task.Notes field so
you lose all of the formatting. I'm looking for either confirmation
that the rich text is NOT available through the Project Object model or
a way to retrieve it and save it as rich text.

Thanks!
Tim
 
J

John

I'm trying to display Task Notes in a rich text box in a Windows Form,
allow the notes to be edited, and then save them back as Rich Text.
Can this be done through the Project Object Model? It appears that
Task.Notes only delivers the text portion of the Task.Notes field so
you lose all of the formatting. I'm looking for either confirmation
that the rich text is NOT available through the Project Object model or
a way to retrieve it and save it as rich text.

Thanks!
Tim

Tim,
Although I've never tried it, I believe you can access the RTF of the
Notes field through the Project database. In other words, you will need
a query on the database itself. For more information on the table
structure of Project's database, look for one of the following files,
(depending on what version of Project you are using), on your hard drive:
projdb.htm
prjbd.htm
pjdb.htm

Hope this helps.
John
Project MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top