Can't "see" Close events of Inspector or Explorer in Outlook from

  • Thread starter Rimantas Varanavicius
  • Start date
R

Rimantas Varanavicius

Hello,

Have a problem.
I've been able read about event Close (of Inspector and Explorer objects) in
multiple posts here in this forum. However when I tried to assign the event
handler to this event... I could find it. It gives no event Close when using
the intellisence feature of VS.NET IDE (but there are present all the other
events that belong according the documentation). I can only see method named
'Close'. Why is that?

I'm working with Office 2003 and have installed the Office 2003 PIAs; .NET
1.1; VS.NET 2002.
I was not able to find any post with similar problems from other developers
here, so I guess there is something "personal" between me and those PIAs:)

Can anyone share some hint? Thank you.

regards,
Rimantas Varanavicius
 
R

Rimantas Varanavicius

Hello,

The problem is "kinda" solved:
I found that if casting the object of type
Microsoft.Office.Interop.Outlook.Inspector (received when handling
NewInspector event) into object of type
Microsoft.Office.Interop.Outlook.InspectorClass - the missing events - Close,
Activate can be found in a form of InspectorEvents_Event_Close and
InspectorEvents_Event_Activate. It is possible to assign handlers and receive
appropriate events.
So far I don't undersant why is it that way, but for now I'm happy it works
at all. Maybe some of you have some more experience in programming Outlook
Com AddIns using C# and handling events Inspector.Close and
Inspector.Activate? Are you doing it the same way?
Thank you

regards,
Rimantas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top