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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top