Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8412441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:40:05+00:00 2026-06-10T00:40:05+00:00

I am developing a standalone Outlook WPF application in C#. What I am trying

  • 0

I am developing a standalone Outlook WPF application in C#. What I am trying to do is have the program monitor a public folder for any incoming mail and notify the users of any mail arrival.

I’ve successfully done this but I feel the manner in which I’m doing it is kludgey. Essentially I’m building a collection of MailItems and my program, via a Timer, re-scans the Public Folder for any new mail.

What I’m wondering is, is there any way to bind a collection directly to a MAPIFolder or MAPIFolder.Items. I’ve actually been able to set the Listbox.ItemsSource to a Outlook.Items object, but it just shows (SysCom.Object) as listbox items. So I feel like this is possible but I’d need some way to tell the Listbox to only show MailItems (as well as the appropriate binding path to the Mailitem’s Subject field).

I guess what I’m ultimately trying to do is “mirror” an Outlook folder instead of copying items out of it into some other list object.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:40:06+00:00Added an answer on June 10, 2026 at 12:40 am

    There is no way to bind in the same way you’d bind to a recorset, but what you need to do is monitor events on that folder (Items.ItemAdd/ItemChange/ItemRemove).

    Also, do not load all items in a folder – besides being extremely inefficient, you can run out of RPC channels limit (enforced by Exchange). Only load enough items to display to the end user. Other items need to be loaded as the user scrolls.

    On the low level, Outlook uses MAPI tables that do not require to open each item as a separate object. Extended MAPI cannot be used from .Net languages, but you can either use the MAPITable object in Redemption (http://www.dimastr.com/redemption/mapitable.htm – I am its author) or the Table object in Outlook 2007 and up (http://msdn.microsoft.com/en-us/library/office/bb176406(v=office.12).aspx).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working with databases recently and before that I was developing standalone
I am developing a standalone application in Java using swing API. I need experts
I am developing a standalone application, in Java using NetBeans, that gets and sends
I'm developing a standalone application that accesses a common database on a server. It
Hai I am developing a standalone application using Java in which I am using
i am developing a standalone application using html and want to call method residing
We're developing an embedded application, running on a standalone GPRS connected device (no operating
We are developing a standalone application that stores its data in a Database. We
In the standalone application(single threaded command line tool) I am developing ,I use Spring
I'm developing an application that which will work as a standalone website and will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.