beginner question

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
 
T

Thaddaeus Parker

I would suggest going to www.outlookcode.com to find some good code snippets
and other ideas on implementing OL2002 add-ins. Helmut Obertanner has some
great code ideas at www.x4u.de. These are some areas that may help you. I
am not used to OL2002, my experience is in OL2003 COM Add-ins and VSTO.

Regards,

Thaddaeus.
 

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