Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Oulook Addin : Get Data from Database, populate into Body

Status
Not open for further replies.

ralphtrent

Programmer
Jun 2, 2003
958
US
I need to write a custom add-in for outlook. The idea will be to have a button added to a mail form that will open up a windows form. The user will select a customer from a drop down box. When they do that, I will need to populate the body of the mail message with some data from a database.

I have started to work on this in Visual Studio 2003. I was able to add a button, but to the main outlook view, not new message. I was able to pull up the windows form when the button was clicked.

The problems I have are
1. the button was not in the correct location
2. every time I reopen outlook, my button get created again, by delete code does not work.
3. how to I put data into the body of the message?

This add-in sounds like it could be very simple, I just have never made one before. I have tried doing a Google search but keep coming up short.

My codeing language is C#. If you can offer ANY advice, I would greatly appreciate it.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top