Solved

create outlook add in visual studio 2008 in vb

Posted on 2010-11-16
2
435 Views
Last Modified: 2012-05-10
i have visual studio 2008, and have tried to create my very first outlook addin. However, I have absolutely no idea how to fire my code when an email is being sent.

I know what to do if i was creating a macro for outlook in vba, but I want it as an addin. Does anyone know the code for the event that is fired when an email is being sent? please can it be a vb example too.

thanks
0
Comment
Question by:Rakz0r
2 Comments
 
LVL 6

Accepted Solution

by:
CRJ2000 earned 500 total points
ID: 34150506
The event you're looking for is ItemSend. It's an event of the Outlook application object. If you are looking to only execute your code on mail items, check he item class to assure that you only look at Outlook.OlObject.olMail.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34150564
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now