Hello,
I download latest Aspose.Words and use your demo code to test comment function. The code is as below:
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Write("Some text is added.");
Comment comment = new Comment(doc);
builder.CurrentParagraph.AppendChild(comment);
comment.Paragraphs.Add(new Paragraph(doc));
comment.FirstParagraph.Runs.Add(new Run(doc, "Comment text."));
doc.Save("c:\\test.doc");
When I tried to save, it threw out an excption.Please help. Thanks.
BTW, I am using 5.1.0.0 on .Net 2.0
William Ren