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

Code to invoke a MessageBox when new mail arrives!



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 20th 06, 04:58 PM posted to microsoft.public.outlook.program_vba
RemySS
external usenet poster
 
Posts: 5
Default Code to invoke a MessageBox when new mail arrives!

Hi Everyone!

I am sick and tired of the envelope in the task tray disappearing when i
mark an older email as read - i still have unread emails and i need a
reminder for when mail is there, similar to Outlook 2000 which had a message
box appear saying "new mail, read now?" or something like that.

So what i would like is to have a dialog box like this appear and ask the
user to click ok. It would also be useful if the message box was always on
top so it didnt matter what program i was currently using.

Some help on this would be most welcome!!

Thanks
Ads
  #2  
Old April 21st 06, 06:38 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Code to invoke a MessageBox when new mail arrives!

Am Thu, 20 Apr 2006 07:58:02 -0700 schrieb RemySS:

What an awful thought that incoming e-mails would be able to start
always-on-top-dialogs...

Anyway, you can use the ItemAdd event of the Inbox to display you own
dialog. But in VBA there´s no easy method to display that one or an UserForm
always on top.

This topic is for outgoing mails but the dialog things are the same:
http://groups.google.de/group/micros...dc14a6c87903e2


--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.vbOffice.net --


Hi Everyone!

I am sick and tired of the envelope in the task tray disappearing when i
mark an older email as read - i still have unread emails and i need a
reminder for when mail is there, similar to Outlook 2000 which had a

message
box appear saying "new mail, read now?" or something like that.

So what i would like is to have a dialog box like this appear and ask the
user to click ok. It would also be useful if the message box was always on
top so it didnt matter what program i was currently using.

Some help on this would be most welcome!!

Thanks

 




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
Outlook repeatedly asks for sign on as new mail arrives. [email protected] Outlook - General Queries 1 April 16th 06 12:00 PM
Forwarding email with imbedded pictures arrives with a place holde mbeaven Outlook - Installation 0 March 27th 06 12:58 AM
Invoke Outlook from a hyperlink [email protected] Outlook - Using Forms 1 March 23rd 06 11:09 AM
Change messageBox text when Outlook form field not validated JennD Outlook - Using Forms 0 February 23rd 06 09:17 PM
PLAY MY OWN SOUND FILE WHEN MAIL ARRIVES? [email protected] Outlook - Installation 1 February 15th 06 09:10 PM


All times are GMT +1. The time now is 09:19 AM.


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.