Violation

  • Thread starter Thread starter Doria
  • Start date Start date
D

Doria

I am working with VBA automation inside Outlook and I am
using AddStore and RemoveStore methods, BUT after the
RemoveStore I need to replace a new .pst file under SO. SO
reports me that a access violation has occurred! Seens
that the removestore method does not set free the file and
I CANNOT change file names everytime. How can I get out
with a solution?

Thanks

Doria
 
What is SO?

A PST file won't be released until you close Outlook. It will remain
locked even if you use RemoveStore.
 
Back
Top