Thanks for the reply and the information.
What am I trying to do.
I would like to iterate through all the folders in the name space and while
looping through them I would like to see if the folder is one in the
olDefaultFolder constants. It would be nice if a folder had as a property
this constant, then it would be simple to see if it was a folder of
particular interest.
thanks
daryl
<kenslovak@mvps.org> wrote in message
news:eO$CIVtNKHA.220@TK2MSFTNGP02.phx.gbl...
> What exactly are you trying to do?
> You can find out the default item type of a folder using
> MAPIFolder.DefaultItemType.
> If you want to know if a specific folder is a default folder, for example
> Inbox, as opposed to being a user-created email folder, how you do that
> depends on what version of Outlook you are using and what API's you are
> using.
> Probably the simplest way to find if a folder is one of the default ones
> without comparing folder EntryID's is to get the FolderPath property,
> which is a string, of the folder and the Inbox folder (or other default
> folder) and compare the FolderPath strings.
> >
>
> "Daryl" <developer@hotmail.com> wrote in message
> news:e2Tbn4rNKHA.3992@TK2MSFTNGP04.phx.gbl...
> > Hi
> > I would like to know if there is anyway of finding out if a folder is in
> > the OlDefaultFolder constants.
>
>> I can see the method GetDefaultFolder(FolderTypeEnum) and return a
> > MAPIFolder is there any way to then get from that returned folder if it
> > is a olFolderInbox for example?
>
>> daryl
>