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

Default .pst



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 7th 06, 08:25 AM posted to microsoft.public.outlook.program_addins
mwernerps2 via OfficeKB.com
external usenet poster
 
Posts: 5
Default Default .pst

I want to add a folder to the default .PST file. When I GetFolders then
GetFirst from the default namespace I do not always get the default root (pst)
folder that contains the default inbox, etc. How do I get the default? Thanks!


--
Message posted via http://www.officekb.com
  #2  
Old March 7th 06, 03:39 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Default .pst

NameSpace.GetDefaultFolder(olFolderInbox).Parent will return a MAPIFolder
object that represents the top of store of that PST file. Use that
MAPIFolder's Folders collection and its Add method to add a new folder at
the same level as Inbox or Calendar, etc.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"mwernerps2 via OfficeKB.com" u10791@uwe wrote in message
news:5ce327da36543@uwe...
I want to add a folder to the default .PST file. When I GetFolders then
GetFirst from the default namespace I do not always get the default root
(pst)
folder that contains the default inbox, etc. How do I get the default?
Thanks!


--
Message posted via http://www.officekb.com


 




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
Deleting unwanted folders from default PST file Level 13 Outlook - General Queries 1 March 4th 06 06:19 PM
Problem with group policy applying "Default location for PST files" Jaycee Outlook - General Queries 1 February 24th 06 09:44 PM
how to change default delivery location to my new pst file sf= Outlook - General Queries 5 February 20th 06 04:18 PM
Default day on default monthly calendar wrong brad elliott Outlook - Calandaring 6 February 2nd 06 01:17 AM
How do I make my imported pst file (calender) the default calender Ron Outlook - Installation 1 January 16th 06 05:49 PM


All times are GMT +1. The time now is 11:31 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.