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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Unable to delete folder OOM .NET add - ins



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 15th 07, 09:26 AM posted to microsoft.public.outlook.program_addins
Reda G
external usenet poster
 
Posts: 1
Default Unable to delete folder OOM .NET add - ins

Hello,

I am new in Office programming. Sorry if I will repeat with my question, but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst file
will publish on server (Not Exchange server). But after i publish *.pst file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.
  #2  
Old June 15th 07, 02:18 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Unable to delete folder OOM .NET add - ins

This is normal and expected behavior. Even after it is removed from a session, a .pst file remains locked until the current Outlook session is completely terminated. You might want to rethink your application's use of .pst files.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Reda G" wrote in message ...
Hello,

I am new in Office programming. Sorry if I will repeat with my question, but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst file
will publish on server (Not Exchange server). But after i publish *.pst file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.

  #3  
Old June 15th 07, 08:30 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Unable to delete folder OOM .NET add - ins

By default, PST provider keeps a PST file referenced and loaded for 30
minutes. Or until the PST provider dll itself gets unloaded (e.g. when the
host process terminates). You might want to play with the registry key
mentioned in http://support.microsoft.com/Default.aspx?kbid=222328


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Reda G" wrote in message
...
Hello,

I am new in Office programming. Sorry if I will repeat with my question,
but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst
file
will publish on server (Not Exchange server). But after i publish *.pst
file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.



  #4  
Old June 18th 07, 07:32 AM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 12
Default Unable to delete folder OOM .NET add - ins

Thanks so much for quick response, but the problem is a locked file
during the Outlook session. I can't completely to delete *.pst folder.
I know that I have to use Folder.Delete() method, but I can't. I've
heard about Extended MAPI, but I am not really familiar with C or C++,
do you have any papers or articles or solutions examples for this
problem.
Thank you so much.

Reda

Dmitry Streblechenko raš :
By default, PST provider keeps a PST file referenced and loaded for 30
minutes. Or until the PST provider dll itself gets unloaded (e.g. when the
host process terminates). You might want to play with the registry key
mentioned in http://support.microsoft.com/Default.aspx?kbid=222328


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Reda G" wrote in message
...
Hello,

I am new in Office programming. Sorry if I will repeat with my question,
but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst
file
will publish on server (Not Exchange server). But after i publish *.pst
file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.


  #5  
Old June 18th 07, 06:49 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Unable to delete folder OOM .NET add - ins

I don't see what the problem is - you set that registry key, add a new PST
store using Namespace.AddStore, then call Namespace.RemoveStore. The PST
file should be released. Is that not the case?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

wrote in message
ups.com...
Thanks so much for quick response, but the problem is a locked file
during the Outlook session. I can't completely to delete *.pst folder.
I know that I have to use Folder.Delete() method, but I can't. I've
heard about Extended MAPI, but I am not really familiar with C or C++,
do you have any papers or articles or solutions examples for this
problem.
Thank you so much.

Reda

Dmitry Streblechenko ras :
By default, PST provider keeps a PST file referenced and loaded for 30
minutes. Or until the PST provider dll itself gets unloaded (e.g. when the
host process terminates). You might want to play with the registry key
mentioned in http://support.microsoft.com/Default.aspx?kbid=222328


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Reda G" wrote in message
...
Hello,

I am new in Office programming. Sorry if I will repeat with my question,
but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst
file
will publish on server (Not Exchange server). But after i publish *.pst
file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.



  #6  
Old June 19th 07, 04:44 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 12
Default Unable to delete folder OOM .NET add - ins

Well, maybe a problem is with releasing a *.pst file. I set up that
registry key, I added new PST store using Namespace.AddStore, then
call Namespace.RemoveStore. but PST file didn't released during
Outlook Session.
Also, I would like to mention that *.PST files store on Network
folder.

Sorry for my dummy question, maybe that problem is that Outlook
session is running?

How to solve this problem without exiting Outlook?

Thanks so much.

Reda


Dmitry Streblechenko raš :
I don't see what the problem is - you set that registry key, add a new PST
store using Namespace.AddStore, then call Namespace.RemoveStore. The PST
file should be released. Is that not the case?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

wrote in message
ups.com...
Thanks so much for quick response, but the problem is a locked file
during the Outlook session. I can't completely to delete *.pst folder.
I know that I have to use Folder.Delete() method, but I can't. I've
heard about Extended MAPI, but I am not really familiar with C or C++,
do you have any papers or articles or solutions examples for this
problem.
Thank you so much.

Reda

Dmitry Streblechenko ras :
By default, PST provider keeps a PST file referenced and loaded for 30
minutes. Or until the PST provider dll itself gets unloaded (e.g. when the
host process terminates). You might want to play with the registry key
mentioned in http://support.microsoft.com/Default.aspx?kbid=222328


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Reda G" wrote in message
...
Hello,

I am new in Office programming. Sorry if I will repeat with my question,
but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst
file
will publish on server (Not Exchange server). But after i publish *.pst
file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.


  #7  
Old June 19th 07, 06:37 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Unable to delete folder OOM .NET add - ins

Do you see that PST store removed from Outlook when you call RemoveStore?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

wrote in message
ups.com...
Well, maybe a problem is with releasing a *.pst file. I set up that
registry key, I added new PST store using Namespace.AddStore, then
call Namespace.RemoveStore. but PST file didn't released during
Outlook Session.
Also, I would like to mention that *.PST files store on Network
folder.

Sorry for my dummy question, maybe that problem is that Outlook
session is running?

How to solve this problem without exiting Outlook?

Thanks so much.

Reda


Dmitry Streblechenko ras :
I don't see what the problem is - you set that registry key, add a new PST
store using Namespace.AddStore, then call Namespace.RemoveStore. The PST
file should be released. Is that not the case?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

wrote in message
ups.com...
Thanks so much for quick response, but the problem is a locked file
during the Outlook session. I can't completely to delete *.pst folder.
I know that I have to use Folder.Delete() method, but I can't. I've
heard about Extended MAPI, but I am not really familiar with C or C++,
do you have any papers or articles or solutions examples for this
problem.
Thank you so much.

Reda

Dmitry Streblechenko ras :
By default, PST provider keeps a PST file referenced and loaded for 30
minutes. Or until the PST provider dll itself gets unloaded (e.g. when
the
host process terminates). You might want to play with the registry key
mentioned in http://support.microsoft.com/Default.aspx?kbid=222328


Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Reda G" wrote in message
...
Hello,

I am new in Office programming. Sorry if I will repeat with my
question,
but
after long searches, I couldn't find a solution to my problem.
Problem: I am developing shared add - ins for MS Outlook 2003, my
application will create *.pst file with calendar folder and that *.pst
file
will publish on server (Not Exchange server). But after i publish
*.pst
file
on server user B, cannot view this file, because is locked. I used
RemoveStore method to remove a folder, but it didn't solve my problem.
How can I solve my problem?

Thank you so much
Reda

PS. I don't like any commercial 3rd parties tools.



 




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
Unable to delete messages Seamonster Outlook Express 3 June 2nd 07 03:45 PM
Outlook Macro to delete email from Sent Folder and Delete Folder Vishal Outlook and VBA 3 February 24th 07 05:52 AM
"Unable to Display the Folder" msg, can't delete folder Yvonne Outlook - Calandaring 2 March 29th 06 09:01 PM
Unable to Delete Certain Calendar Items. Jon F. Thome Outlook - Calandaring 0 March 29th 06 02:31 AM
Junk E-mail folder - is there a way to create a rule to delete items in this folder older than X days? Jaycee Outlook - General Queries 1 February 22nd 06 05:54 PM


All times are GMT +1. The time now is 12:57 PM.


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.