PC Review


Reply
Thread Tools Rate Thread

How to detect a virtual folder in Ol2003?

 
 
Ronald van Aalten
Guest
Posts: n/a
 
      17th Dec 2003
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


 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      17th Dec 2003
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
>
>



 
Reply With Quote
 
Ronald van Aalten
Guest
Posts: n/a
 
      18th Dec 2003
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
> >
> >

>
>



 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      18th Dec 2003
Certain properties will return errors if the MAPIFolder is a search folder, so that's one way to tell -- see http://www.slipstick.com/dev/ol2003p...#searchfolders.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"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
>
>

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      18th Dec 2003
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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Folder fomats - OL2003 Mike H Microsoft Outlook Discussion 3 20th Apr 2009 04:31 PM
I cannot see Note Item folder in Folder list (OL2003). Jyrki S Microsoft Outlook Discussion 2 27th Nov 2007 03:36 PM
V1.1 Virtual Folder when V2.0 installed for the virtual server? Jéjé Microsoft ASP .NET 2 30th Nov 2005 05:44 PM
ol2003 pst folder =?Utf-8?B?ZmFkaQ==?= Microsoft Outlook Discussion 3 5th May 2005 02:36 PM
Detect virtual machine presence Michiel Microsoft VC .NET 0 4th Feb 2004 03:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:40 AM.