A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Toogle Desktop Alert active status?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 10th 08, 04:11 AM posted to microsoft.public.outlook.program_vba
G Lykos
external usenet poster
 
Posts: 1
Default Toogle Desktop Alert active status?

Greetings! Would like to add a button to Outlook 2003 tied to a VBA snippet
that would activate/inactivate the Desktop Alert function. This is so when
using my laptop to make presentations, I don't get messages popping up.
Would much prefer not to have to dig down through the layers of the Tools
menu to activate/deactivate the function. However, am not having much
success finding information about the related VBA hook(s).

Thanks in advance for any ideas.
George


Ads
  #2  
Old July 10th 08, 03:10 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Toogle Desktop Alert active status?

That setting is stored in the registry. For Outlook 2003 it's at
HKCU\Software\Microsoft\Office\11.0\Outlook\Prefer ences\NewmailDesktopAlerts,
where 1 is an alert and 0 is no alert.

However, Outlook reads that value only on startup and when you change it in
the Options dialog it stores the change in memory as well as writing it out
to the registry. The only time it reads the registry for that is when it
starts up.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"G Lykos" wrote in message
...
Greetings! Would like to add a button to Outlook 2003 tied to a VBA
snippet
that would activate/inactivate the Desktop Alert function. This is so
when
using my laptop to make presentations, I don't get messages popping up.
Would much prefer not to have to dig down through the layers of the Tools
menu to activate/deactivate the function. However, am not having much
success finding information about the related VBA hook(s).

Thanks in advance for any ideas.
George



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Outlook 2007 desktop alert. bob Outlook - Installation 3 December 29th 07 06:05 PM
create desktop alert bzuerlein Outlook and VBA 3 November 9th 07 08:09 AM
How do i create a rule for desktop alert? Sarah Outlook - General Queries 0 January 5th 07 03:39 PM
Desktop Alert Pop Up Eric Outlook - Installation 2 December 12th 06 10:46 AM
Can the Desktop Alert be sticky? plh Outlook - General Queries 2 May 18th 06 07:28 AM


All times are GMT +1. The time now is 08:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.