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

create desktop alert



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 5th 07, 06:33 PM posted to microsoft.public.outlook.program_vba
bzuerlein
external usenet poster
 
Posts: 2
Default create desktop alert

I'm just starting out with VBA in Outlook, but, is there any way to create a
desktop alert, similar to the one that pops up when new mail comes in?
Ads
  #2  
Old November 6th 07, 06:40 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default create desktop alert



In principle, yes. You might add a UserForm to your project and show that
with:

UserForm.Show False

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Mon, 5 Nov 2007 10:33:01 -0800 schrieb bzuerlein:

I'm just starting out with VBA in Outlook, but, is there any way to create

a
desktop alert, similar to the one that pops up when new mail comes in?

  #3  
Old November 8th 07, 01:05 AM posted to microsoft.public.outlook.program_vba
bzuerlein
external usenet poster
 
Posts: 2
Default create desktop alert

I started working on a UserForm for this, but, is there any way to make it
act like the desktop alert, where it will appear (without taking focus) and
then disappear after a set amount of time?

"Michael Bauer [MVP - Outlook]" wrote:



In principle, yes. You might add a UserForm to your project and show that
with:

UserForm.Show False

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Mon, 5 Nov 2007 10:33:01 -0800 schrieb bzuerlein:

I'm just starting out with VBA in Outlook, but, is there any way to create

a
desktop alert, similar to the one that pops up when new mail comes in?


  #4  
Old November 9th 07, 07:09 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default create desktop alert



You can close it by using a timer. Here's a sample for the timer:
http://www.vboffice.net/sample.html?...showitem&pub=6

Not sure if this works but you might try to set the focus back to the
ActiveExplorer or ActiveInspector. Both have an Activate method.

If not Outlook but any other application has the focus before displaying
your UserForm then you're probably lost. A lot of Win32 API were necessary
to work around that; no stuff for beginners.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 7 Nov 2007 17:05:00 -0800 schrieb bzuerlein:

I started working on a UserForm for this, but, is there any way to make it
act like the desktop alert, where it will appear (without taking focus)

and
then disappear after a set amount of time?

"Michael Bauer [MVP - Outlook]" wrote:



In principle, yes. You might add a UserForm to your project and show that
with:

UserForm.Show False

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:

http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Mon, 5 Nov 2007 10:33:01 -0800 schrieb bzuerlein:

I'm just starting out with VBA in Outlook, but, is there any way to

create
a
desktop alert, similar to the one that pops up when new mail comes in?


 




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
delay the desktop alert for new email jamesd Outlook - General Queries 1 May 5th 07 11:16 AM
How do i create a rule for desktop alert? Sarah Outlook - General Queries 0 January 5th 07 02:39 PM
Multiple mailbox desktop alert Jessica Outlook - Installation 1 December 24th 06 04:29 AM
Desktop Alert Pop Up Eric Outlook - Installation 2 December 12th 06 09:46 AM
Can the Desktop Alert be sticky? plh Outlook - General Queries 2 May 18th 06 06:28 AM


All times are GMT +1. The time now is 06:13 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.