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

Need codes for change the default delivery store



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 12th 06, 12:06 PM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 1
Default Need codes for change the default delivery store

I have written a vbscript that could

1. create a new pst
2. copy all folders in the current delivery store to this new pst

However, I have no idea to change the default delivery with vbscript
codes. Please help.

I can post the code here if you need it. Thank you.

Ads
  #2  
Old April 12th 06, 11:02 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Need codes for change the default delivery store

Can't do that in OOM or CDO 1.21.
Extended MAPI: IMAPISession.SetDefaultStore()
Redemption: RDOStore.Default or RDOSession.Stores.DefaultStore

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

wrote in message
ups.com...
I have written a vbscript that could

1. create a new pst
2. copy all folders in the current delivery store to this new pst

However, I have no idea to change the default delivery with vbscript
codes. Please help.

I can post the code here if you need it. Thank you.



  #3  
Old May 3rd 06, 05:14 AM posted to microsoft.public.outlook.program_vba
Curtis Wong
external usenet poster
 
Posts: 2
Default Need codes for change the default delivery store

Thanks for reply

Could I request some codes for examples???

Thanks

  #4  
Old May 3rd 06, 07:28 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Need codes for change the default delivery store

Using which API and programming language?

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

"Curtis Wong" wrote in message
ups.com...
Thanks for reply

Could I request some codes for examples???

Thanks



 




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 open default e-mail folders; info store won't open No Avail Outlook - Installation 3 July 30th 07 12:48 AM
Change default mailbox Hlewis Outlook and VBA 3 March 5th 06 02:52 PM
how to change default delivery location to my new pst file sf= Outlook - General Queries 5 February 20th 06 03:18 PM
Can't change default delivery folder George Outlook - Installation 1 February 17th 06 06:59 PM
"The specified default store could not be opened. Please make sure you can access your default store and try again." [email protected] Outlook - General Queries 2 February 17th 06 03:58 PM


All times are GMT +1. The time now is 10:48 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.