PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
NewExplorer Event in a C# add-in
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
NewExplorer Event in a C# add-in
![]() |
NewExplorer Event in a C# add-in |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I'm writing an add-in in C# for Outlook 2003 (SP1) and using the default PIA.
I’m getting a NullReferenceException with the message "Object reference not set to an instance of an object.” when running the following code: applicationObject.Explorers.NewExplorer += new Microsoft.Office.Interop.Outlook.ExplorersEvents_NewExplorerEventHandler(Explorers_NewExplorer); The Explorers event is just fine. Any ideas about this? |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

