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

  • Thread starter Thread starter Macko
  • Start date Start date
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
 
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.
 
Back
Top