I can only think of calling MAPIFolder.Items.Add - it will fail for the
Search folders. For the regular folders you can immediately delete the
returned message.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Ronald van Aalten" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm using VB6 so there's no way to call the GetSearchCriteria (?). Is
there
> another way?
>
> Ronald
>
> "Dmitry Streblechenko" <(E-Mail Removed)> wrote in message
> news:%23$(E-Mail Removed)...
> > IMAPIFolder::GetSearchCriteria() fails for regular folders, but works
for
> > the search folders.
> >
> > Dmitry Streblechenko (MVP)
> > http://www.dimastr.com/
> > OutlookSpy - Outlook, CDO
> > and MAPI Developer Tool
> >
> >
> > "Ronald van Aalten" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi,
> > >
> > > How can I programmatically detect a virtual folder (=search folder) in
> > > outlook 2003? The mapifolder object is valid. Is there a (ext.mapi)
> > property
> > > to check?
> > >
> > > Ronald
> > >
> > >
> >
> >
>
>