How to trap NewMail event in VB.NET COM Add-in

M

Macko

Hello,

I'm writing a VB.NET COM Add-in for Outlook 2002. I have to trap
NewMail event in this add-in and store information about just received
email (4 example Topic) in the file. Any examples, solutions, advices?
I read about problems with handling this event in COM Add-ins (problems
with MS Outlook assemblies). Is that right?

Thanks for Your help,

Maciek
 
E

Eric Legault [MVP - Outlook]

See http://www.slipstick.com/dev/comaddins.htm for a great reference if you
haven't checked it already. Also, "HOW TO: Build an Office COM Add-in by
Using Visual Basic .NET" (http://support.microsoft.com/?kbid=302896) or
"Building Outlook 2002 Add-ins with Visual Basic .NET"
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/h
tml/odc_oladdinvbnet.asp) might be of particular use for you.

MicroEye also has a best practices COM Add-In Template for VB 6.0
(http://www.microeye.com/resources/code.htm) that is a great reference.

Sorry, I don't know if there are any specific issues with the NewMail event
in VB.NET.
 

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