Show results from Find and FindNext in Outllok

  • Thread starter Thread starter friedemannkunze via OfficeKB.com
  • Start date Start date
F

friedemannkunze via OfficeKB.com

Dear members,

I'm using the functions Find and FindNext from Outlook object model to get
some appointments from Outlook calendar. My goal is to show the searchresult
(received appointments) within Outlook like a resultlist.
In Outlook 2003 I've seen the function over the menu View > Sort > Current
View > Active Appointments (translated from german Outlook version) which
shows me all active appointments. My intetion is to list my searched
appointments in a list like that. That's exactlly the thing I need.
Is here someone able to help me? Thanks a lot.
 
You have to provide the user interface if you're using Find. All it does is return the item programmatically. It doesn't show anything in the UI.

Or maybe what you want to do is modify the View.XML property for the current view or another named view and filter it. Take a look at the XML for a filtered view and you'll see the <filter> element that does the filtering.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Dear Sue,

thanks for your fast reply.
Unfortunately, it's not possible to use the UI programmatically in this case.

I've tried your solution with the XML files. But I've the problem that I
don't know where I can find the according XML files. Can you help me in this
matter once again please?
Thanks in advance.
You have to provide the user interface if you're using Find. All it does is return the item programmatically. It doesn't show anything in the UI.

Or maybe what you want to do is modify the View.XML property for the current view or another named view and filter it. Take a look at the XML for a filtered view and you'll see the said:
Dear members,
[quoted text clipped - 6 lines]
appointments in a list like that. That's exactlly the thing I need.
Is here someone able to help me? Thanks a lot.
 
Back
Top