![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I had originally posted in microsoft.public.outlook and it was
suggested that here might be a better place. So.... ====== I recently upgraded to Outlook 2007 B2TR and have found that I can no longer code against CDO.DLL It's gone ![]() Using C#, I used to get the MAPI session, and from that I could change the out of office. No longer. Does anyone know how to do this using the new Microsoft.Office.Core and Microsoft.Office.Outlook DLL's that are supposed to be the new replacements? Here's what I had that worked until Outlook 2007 came around: SessionClass session = new MAPI.SessionClass(); session.Logon(Missing.Value,Missing.Value,Missing. Value,Missing.Value,Missi*ng.Value,Missing.Value,s ervertxt.Text+"\n"+mailboxtxt.Text); session.OutOfOffice= !this.checkBoxIn.Checked; session.OutOfOfficeText = this.OOOtxt.Text; session.Logoff(); Any suggestions? This is s standalone app, not an add-in or other. 1. It has been brought up that the CDO is now a separate download (that didn't help - it won't install if I have Exchange Tools on the box) 1a. Apparently CDO isn't supported - I'm getting used to that. If I can make it work, I don't really care if it isn't supported (It appears that much of what people ACTUALLY want to do isn't supported sigh) 2. It has been mentioned that the OOstate is available through Store.PropertyAccessor using the new object, but the text isn't I want to be able to change state and text of the out of office message. Thanks in advance for any help. Brian Hampson System Administrator, North America ALS Laboratory Group |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 with Office 2007 | Wilco | Outlook - Installation | 3 | November 17th 06 10:26 PM |
how do we add 2007 holidays to office 2007 | karol | Outlook - Calandaring | 1 | October 29th 06 03:05 PM |
MS Office 2007 Beta 2 Outlook | psc | Outlook - Installation | 1 | July 2nd 06 07:19 PM |
Launching Office 2007 components gets Office 2003 set up | P Cause | Outlook - Installation | 0 | July 1st 06 01:46 PM |
Feedback on Outlook/Office 2007 | Michael Roed | Outlook - General Queries | 2 | June 16th 06 03:52 PM |