exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CDO Meeting Updates

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
choggatt



Joined: 06 Aug 2007
Posts: 1

PostPosted: Sun May 06, 2007 7:57 pm    Post subject: CDO Meeting Updates Reply with quote

I am having a hard time sending meeting updates to attendees. I can
get the updated meeting to save to the organizer's calendar, but then
when I send it the meeting is sent to the attendee as a new meeting
instead of an update (It seems that Exchange assigns a new UID when
the Save method is called, so the attendees' calendar can't link it
with the original UID?!). If I try to send without saving first, the
old meeting is sent instead of the update.

Here is a sample of the code:

string sURL = "http://localhost/Exchange/" + username
+ "/calendar";

ADODB.Connection oCn = new ADODB.Connection();
oCn.Provider = "exoledb.datasource";

oCn.Open(sURL, username, password, 0);

CDO.Appointment oApp = new CDO.Appointment();
//Set updated Fields
oApp = ConvertVEItoCDOAppointment(appt, oCn, username,
password, sURL, false);

//Get URL location of oApp
string UID =
oApp.Fields["urn:schemas:calendar:uid"].Value.ToString();
string href = GetExistingAppointmentHrefFromUID(UID,
oCn, username);

oApp.DataSource.Open(href, oCn,
ADODB.ConnectModeEnum.adModeReadWrite,
ADODB.RecordCreateOptionsEnum.adFailIfNotExists,
ADODB.RecordOpenOptionsEnum.adOpenSource,
username, password);

oApp.DataSource.SaveTo(href, oCn,
ADODB.ConnectModeEnum.adModeReadWrite,
ADODB.RecordCreateOptionsEnum.adCreateOverwrite,
ADODB.RecordOpenOptionsEnum.adOpenSource,
username, password);

CDO.ICalendarMessage iCalMsg =
(CDO.ICalendarMessage)oApp.CreateRequest();
iCalMsg.Message.Send();

Any help would be greatly appreciated!

Archived from group: microsoft>public>exchange2000>development
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
ADO Recordset denies inserts, updates and deletes Hi all, I am accessing an Exchange Server 2000 from a remote machinge using ADO 2.5 together with MSDAIPP.DSO provider. I successfully select and list items from various folders using a Recordset. At a certain point I want to insert a new item into (delet

no updates? is this group still valid??

Auto Updates broke SSL for OWA Exchange 2003, ran updates today (9 total) for Windows 2003 Server restarted and now SSL for OWA no longer works. If I take the 443 port our of SSL port in IIS It starts, put 443 back in there and it doesn't start saying the file is already in use. Now I

Exchange 2003 SP2 + Security Updates = OWA Problems Hi guys! I wonder if anyone can shed any light on why whenever I install the latest patches on my Exchange 2003 server, the OWA stops working and users receive a: SERVICE NOT WORKING message when going to the web page. Add/Remove programs and uninstall t

Meeting Request problem We have an outside person using Outlook 2002 sending a Meeting Request via their pop account to our Exchange server. When it is received by our inside user (on Exchange with Outlook 2002), the Meeting Request comes out as a VCALENDAR text in the body of t
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group