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.