View Single Post
  #4  
Old January 23rd 09, 04:41 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Copy all receiving/sending mail from Outlook 2003 while runnin

Startup can be used to create a new PST using AddStore. That locks the PST
until after Outlook is closed (usually for a couple of minutes after Outlook
is closed).

Quit fires when Outlook objects are out of scope and can't be used for
anything Outlook related like that.

Anything you do with a PST file when Outlook is running locks that PST file.
You cannot do what you want to do.

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


"Crossh" wrote in message
...
Is there a way to create a seperate new .pst during the
Application_Startup
or Aplication_Quit Events? Then the other users can import this new .pst
into their Outlook.


Ads