Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Default .pst

Geek News

Default .pst
"mwernerps2 via OfficeKB.com" <u10791[ at ]uwe> 3/7/2006 7:25:17 AM
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
Re: Default .pst
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 3/7/2006 2:39:31 PM
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[ at ]uwe> wrote in message
news:5ce327da36543[ at ]uwe...
[Quoted Text]
>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

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net