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

How to put the EventHandler ItemAdd to all open Deleted Items Folder's



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 18th 06, 01:26 PM posted to microsoft.public.outlook.program_vba
Ralf Preis
external usenet poster
 
Posts: 1
Default How to put the EventHandler ItemAdd to all open Deleted Items Folder's

If more than one PST-File is open, how can I fire with the ItemAdd Event
in ALL 'Deleted Items' Folders in all open pst-Files ?

The purpose is I want to remove the attachment of an item (saved before
in the HD-Directory) from the HD too if the user deletes the related
mail item in one of the open pst-files.



*** Sent via Developersdex http://www.developersdex.com ***
Ads
  #2  
Old May 18th 06, 04:35 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to put the EventHandler ItemAdd to all open Deleted Items Folder's

Set up an event handler for each Items collection you want to handle.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Ralf Preis" wrote in message
...
If more than one PST-File is open, how can I fire with the ItemAdd Event
in ALL 'Deleted Items' Folders in all open pst-Files ?

The purpose is I want to remove the attachment of an item (saved before
in the HD-Directory) from the HD too if the user deletes the related
mail item in one of the open pst-files.



*** Sent via Developersdex http://www.developersdex.com ***


 




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
Reading mails from Sent items, Deleted items, Draft folder of outlook from VB6.0 Viswanathan Outlook - General Queries 8 May 26th 06 04:31 PM
Items recovered from the Deleted Items folder are disappearing Midwest Muskie Outlook - Installation 0 May 16th 06 06:50 PM
Have deleted my deleted items but need to retrieve something ? jimmyhall Outlook - Using Contacts 1 March 29th 06 08:28 PM
Deleted email not going to Deleted Items folder techie_comps Outlook - General Queries 1 February 27th 06 04:59 PM
Recover deleted messages after emptying deleted items folder Gail Outlook Express 2 January 30th 06 05:18 PM


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