G
Gloup
Hello
I try to to make an Outlook Addin with VS2003. My addin create a button in
Outlook 2003 and the onclik event is fired. Now, how can I get the selected
item in Outlook and determine his type (mail, contact,....). I want to save
a mail as file when I click on my button. I've tried with
appObject.ActiveInspector().CurrentItem
but there is no inspectors (Inspectors.Count is 0)
appObject is defined in "OnConnection" with
appObject = (Microsoft.Office.Interop.Outlook.Application)application;
If somebody have some short examples or urls....
Thanks in advance
JL
PS: Sorry for my bad English.... ;o)
I try to to make an Outlook Addin with VS2003. My addin create a button in
Outlook 2003 and the onclik event is fired. Now, how can I get the selected
item in Outlook and determine his type (mail, contact,....). I want to save
a mail as file when I click on my button. I've tried with
appObject.ActiveInspector().CurrentItem
but there is no inspectors (Inspectors.Count is 0)
appObject is defined in "OnConnection" with
appObject = (Microsoft.Office.Interop.Outlook.Application)application;
If somebody have some short examples or urls....
Thanks in advance
JL
PS: Sorry for my bad English.... ;o)