S
Steffen Heinzl
Hi!
I'm writing an Outlook add-in with VSTO in C#.
Up to now, I used the shortcutBar example (from the MSDN) which creates
a few buttons. By clicking on a button named New Mail, the normal window
appears, in which the Outlook user can write his mail.
Then I added an AttachmentAddEventHandler, which reacts whenever an
Attachment is added to the mail. The function handling the event
receives an Attachment object. By calling attachment.Parent, I get the
email to which the attachment was added.
Now I can modify the body of the mail. The modification works for the
mail object, but is not reflected to the form where the body of the
Email is shown.
Does anybody know how to update the window or at least how to get a
reference to it?
Yours,
Steffen
I'm writing an Outlook add-in with VSTO in C#.
Up to now, I used the shortcutBar example (from the MSDN) which creates
a few buttons. By clicking on a button named New Mail, the normal window
appears, in which the Outlook user can write his mail.
Then I added an AttachmentAddEventHandler, which reacts whenever an
Attachment is added to the mail. The function handling the event
receives an Attachment object. By calling attachment.Parent, I get the
email to which the attachment was added.
Now I can modify the body of the mail. The modification works for the
mail object, but is not reflected to the form where the body of the
Email is shown.
Does anybody know how to update the window or at least how to get a
reference to it?
Yours,
Steffen