doc.EmbeddedObjects has an undifined value when accessed via C# and COM

I am writing an application to access attachments in Domino documents. The application is written in C# and I am using the COM interface.

Every time I try to access embedded object in documents, the EmbeddedObjects property of the document has an undefined value.

Any clues?

thanks

Raimund

Subject: doc.EmbeddedObjects has an undifined value when accessed via C# and COM

Does the document have embedded objects? Please note that attachments crated in Rich Text fields are not accessible through the EmbeddedObjects collection of the NotesDocument object; they need to be accessed through the NotesRichTextItems that “contain” them.

Subject: RE: doc.EmbeddedObjects has an undifined value when accessed via C# and COM

yes, the document has embedded objects (doc.HasEmbedded is true), but the attachments are not embedded in rich text fields, they are either attachted to MIME fields or simply embedded to the data note like in Notes V2

Subject: RE: doc.EmbeddedObjects has an undifined value when accessed via C# and COM

Just a heads-up: doc.HasEmbedded will be true when attachments are in rich text fields as well.