msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Inspector.Activate event under VS2005 C#?

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Interop
Author Message
TC



Joined: 13 Aug 2007
Posts: 2

PostPosted: Sun Aug 19, 2007 2:00 pm    Post subject: Inspector.Activate event under VS2005 C#? Reply with quote

Hey All,

I was wondering if anyone knows how or happens to have a snippet of code
demonstrating how to hook into the Inspector.Activate event under Visual
Studio 2005 using C#?

This event does not appear under the obvious object model and I'm unsure how
to proceed.

Thanks,

TC

Archived from group: microsoft>public>outlook>interop
Back to top
View user's profile Send private message
TC



Joined: 13 Aug 2007
Posts: 2

PostPosted: Sun Aug 19, 2007 2:12 pm    Post subject: Re: Inspector.Activate event under VS2005 C#? Reply with quote

Answered my own question which may be helpful to others:

private void
Inspectors_NewInspector(Microsoft.Office.Interop.Outlook.Inspector
Inspector)

{

((Microsoft.Office.Interop.Outlook.InspectorEvents_Event)Inspector).Activate

+= new
Microsoft.Office.Interop.Outlook.InspectorEvents_ActivateEventHandler(Inspector_Activate);

}




"TC" wrote in message @TK2MSFTNGP02.phx.gbl...
> Hey All,
>
> I was wondering if anyone knows how or happens to have a snippet of code
> demonstrating how to hook into the Inspector.Activate event under Visual
> Studio 2005 using C#?
>
> This event does not appear under the obvious object model and I'm unsure
> how to proceed.
>
> Thanks,
>
> TC
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Inspector commandbars and moving between items I'm having troubles getting my commandbar com addin to be stable. I think the trouble is that I'm not dereferencing my object variables before Outlook tries to close them. It seems to happen most when I have an Inspector open, then move the focus of the

Tabulation in Outlook Forms ( Inspector) I have a Problem with tabulation. I must to stop the user on the control (TextBox) when data is incorrect. With the SetFocus method, focus go to the next control all the same. Please tell me how i can to solve the problem. Sorry for my english. Thanks Cla

BeforeDelete Event Hi everybody, I want to execute some code before a contact item will be deleted. This is my code: Sub MsgBox "Test" End Sub But it doesn't function, because there is no message box. Why? Regards Daniel

newmail event Hello, How to recognise and get object (mailitem) when newmail event occurs ? Pawel

Outlook2007 - Multi day event display When creating a multiple day event, ie. Friday to the following Friday. The print out displays the highlighted event running from the start date into the notes area. The event is not dropping down to the 2nd week and is just running on one line. Any help
Post new topic   Reply to topic    msoutlook.org Forum Index -> Outlook Interop All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group