PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Programmatically toggling the Outlook SysTray icon

Reply

Programmatically toggling the Outlook SysTray icon

 
Thread Tools Rate Thread
Old 04-11-2004, 02:56 PM   #1
R Avery
Guest
 
Posts: n/a
Default Programmatically toggling the Outlook SysTray icon


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?
  Reply With Quote
Old 04-11-2004, 05:14 PM   #2
=?Utf-8?B?RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ==
Guest
 
Posts: n/a
Default RE: Programmatically toggling the Outlook SysTray icon

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?
>

  Reply With Quote
Old 04-11-2004, 09:50 PM   #3
R Avery
Guest
 
Posts: n/a
Default Re: Programmatically toggling the Outlook SysTray icon

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?
>>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off