S
Simple4All
Hi.
I have an office 2003 COM addin (VS.NET/C# + Unmanaged COM Shim) providing some additional functionality to the Word email template.
Creating a new mail from Outlook and accessing the ActiveDocument.MailEnvelope.Item gives me some errors.
MailItem mailItm = wordApp.ActiveDocument.MailEnvelope.Item as MailItem
Results in exception, Value cannot be null. Parameter name: ntIdentity
object o = wordApp.ActiveDocument.MailEnvelope.Item
Results in exception, Object reference not set to an instance of an object
Can anyone tell me what the problem is?
Thanks
Steffen - DK
I have an office 2003 COM addin (VS.NET/C# + Unmanaged COM Shim) providing some additional functionality to the Word email template.
Creating a new mail from Outlook and accessing the ActiveDocument.MailEnvelope.Item gives me some errors.
MailItem mailItm = wordApp.ActiveDocument.MailEnvelope.Item as MailItem
Results in exception, Value cannot be null. Parameter name: ntIdentity
object o = wordApp.ActiveDocument.MailEnvelope.Item
Results in exception, Object reference not set to an instance of an object
Can anyone tell me what the problem is?
Thanks
Steffen - DK