PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Programmatically toggling the Outlook SysTray icon
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Programmatically toggling the Outlook SysTray icon
![]() |
Programmatically toggling the Outlook SysTray icon |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a program that sorts email based on the NewMail event. I auto
move it to a particular folder, and do .UnRead = False However, the Outlook SysTray icon that notifies me that new mail has arrived is still displayed. How can I programmatically turn this off if one of my VBA rules sorts the email? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
There's an excellent code sample here that shows you how to do this:
To clear the Outlook envelope icon from the Windows system tray: http://www.outlookcode.com/d/code/clearenvicon.htm -- Eric Legault - B.A, MCP, MCSD, Outlook MVP -------------------------------------------------- {Private e-mails ignored} Job: http://www.imaginets.com Blog: http://blogs.officezealot.com/legault/ "R Avery" wrote: > I have a program that sorts email based on the NewMail event. I auto > move it to a particular folder, and do .UnRead = False > However, the Outlook SysTray icon that notifies me that new mail has > arrived is still displayed. How can I programmatically turn this off if > one of my VBA rules sorts the email? > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Also very sexy ;D
Eric Legault [MVP - Outlook] wrote: > There's an excellent code sample here that shows you how to do this: > > To clear the Outlook envelope icon from the Windows system tray: > http://www.outlookcode.com/d/code/clearenvicon.htm > > -- > Eric Legault - B.A, MCP, MCSD, Outlook MVP > -------------------------------------------------- > {Private e-mails ignored} > Job: http://www.imaginets.com > Blog: http://blogs.officezealot.com/legault/ > > > "R Avery" wrote: > > >>I have a program that sorts email based on the NewMail event. I auto >>move it to a particular folder, and do .UnRead = False >>However, the Outlook SysTray icon that notifies me that new mail has >>arrived is still displayed. How can I programmatically turn this off if >>one of my VBA rules sorts the email? >> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

