M
mr
i am writing my first outlook 2002 add-in using C#/VS2003. i have been able
to create a button that displays a winform that at this point doesn't do
anything.
what i would like this button to do is:
if the button is pressed in the inbox view and an email is highlighted, get
the email address of the sender - i then can pass the address to a method
that does something
else do nothing (or even disable the button?)
i don't know how to get the following information
1) am i in the inbox view?
2) what is the selected email (if there is one)
3) what is the sender of the selected email.
i hope that once i find out how to accomplish these three things i can take
off on my own and add more functionality later.
i need to get a better basic understanding of the outlook object model and
how to implement it in C#
can anyone recommend how to do this in C#? any references, code examples
would be greatly appreciated
thanks very much
m
to create a button that displays a winform that at this point doesn't do
anything.
what i would like this button to do is:
if the button is pressed in the inbox view and an email is highlighted, get
the email address of the sender - i then can pass the address to a method
that does something
else do nothing (or even disable the button?)
i don't know how to get the following information
1) am i in the inbox view?
2) what is the selected email (if there is one)
3) what is the sender of the selected email.
i hope that once i find out how to accomplish these three things i can take
off on my own and add more functionality later.
i need to get a better basic understanding of the outlook object model and
how to implement it in C#
can anyone recommend how to do this in C#? any references, code examples
would be greatly appreciated
thanks very much
m