WPF and Outlook
-
Thursday, March 24, 2011 12:11 AM
In the past I had connected Outlook using COM to my VFP applications. I'm not very fond COM and I'm hoping there a way to have my WPF application (ASP.Net v4) connect to Outlook 2007/2010 clients? Meaning, we want to sync calendars, possibly contacts and of course emails. In a perfect world we want this to be a two way transfer, if the SQL Database of ours has an appointment set for X date/time we want it in Outlook. And, if the appointment is changed or cancelled in Outlook then we want it to update the DB. These are just a few of my ideas.
Thanks!
Chris
All Replies
-
Thursday, March 24, 2011 12:29 AM
Unfortunately COM is probably your only option. I know the feeling, I have recently been doing some heavy reporting in Excel. COM is the only way.- Marked As Answer by Sheldon _XiaoModerator Thursday, March 31, 2011 6:27 AM
-
Friday, March 25, 2011 4:37 AMModerator
Hi cmarsh,
I am agree with KP_SES in total, WPF has not wrapped any Outlook component, as far as I know, to use COM is the only way to achieve your goal, this is a simple sample you could refer to:
http://www.robbollons.com/index.php/2010/03/04/how-to-connect-to-outlook-2007-using-c-net/
Best regards,
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked As Answer by Sheldon _XiaoModerator Thursday, March 31, 2011 6:27 AM
-
Thursday, March 31, 2011 6:27 AMModerator
Hi cmarsh,
I think KP_SES and me have provided what you need of this issue, so I will close this thread as "Answered", if you have new findings of this issue, please let me know.
Best regards,
Sheldon _Xiao[MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

