Can someone guide me how to save an OLE embedded object (Object Type -> EMBED_OBJECT) from Lotus Notes using C#. I tired using NotesEmbeddedObject class from Interop.Domino, but could not find a suitable method to save it?
Thanks
RSP
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately, I think it is implied in the nature of OLE that there is no generalized way to do what you want. Since the embedded storage format for an OLE object is not assumed to be the same as the standalone file storage format, the expectation is that you need to use the OLE server code to save the object to a file. I.e., you should use the Activate method to invoke the OLE object’s server, and then use the DoVerb method to tell the server to save the object as a file. Of course, that doesn’t help if the OLE server doesn’t expose a Save verb, or if the OLE server is not installed on the machine where you are running.