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.Connectio n oCn = new ADODB.Connectio n();
oCn.Provider = "exoledb.dataso urce";
oCn.Open(sURL, username, password, 0);
CDO.Appointment oApp = new CDO.Appointment ();
//Set updated Fields
oApp = ConvertVEItoCDO Appointment(app t, oCn, username, password, sURL, false);
//Get URL location of oApp
string UID = oApp.Fields["urn:schemas:ca lendar:uid"].Value.ToString ();
string href = GetExistingAppo intmentHrefFrom UID(UID, oCn, username);
oApp.DataSource .Open(href, oCn,
ADODB.ConnectMo deEnum.adModeRe adWrite,
ADODB.RecordCre ateOptionsEnum. adFailIfNotExis ts,
ADODB.RecordOpe nOptionsEnum.ad OpenSource,
username, password);
oApp.DataSource .SaveTo(href, oCn,
ADODB.ConnectMo deEnum.adModeRe adWrite,
ADODB.RecordCre ateOptionsEnum. adCreateOverwri te,
ADODB.RecordOpe nOptionsEnum.ad OpenSource,
username, password);
CDO.ICalendarMe ssage iCalMsg = (CDO.ICalendarM essage)oApp.Cre ateRequest();
iCalMsg.Message .Send();
Any help would be greatly appreciated!
0 1239 Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Clark |
last post by:
I am trying to send a meeting request from vb.net and I have tried using this
example.
---------------------------
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_sending_a_meeting_request.asp
----------------------------
I must not be referencing the correct dlls. It has this:
' Reference to Microsoft ActiveX Data Objects 2.5 Library
' Reference to Microsoft CDO for Exchange 2000 Library
' Reference to...
|
by: Jordan Bruce |
last post by:
*******************************************************
ONTARIO CANADA INFORMIX USER GROUP (OCIUG)
http://www.iiug.org/ociug
NEXT MEETING: WEDNESDAY, JULY 14
*******************************************************
Dear OCIUG member,
Our next meeting is an all-day event this coming Wednesday, July 15 at
the IBM training facility in Markham (directions below). Continental
|
by: Kamyk |
last post by:
Hello all!
I have created a function in VB which generate appointment in Outlook.
Everything is OK, except one thing. I cannot send it automatically using a
button in Access, because I don`t know what is the code to send it
automatically. I noticed that if I click on Calendar>"click on selected
appointment">menu>Appointment>Invite Atendees everything is going well and
this appointment is sent to attendees given on the list.
My question...
|
by: Owen |
last post by:
Hello,
I am working on a project that required to implement sending meeting
requests with an attachment. I have researched many posts from web, but I
cannot see any one talking about how to implement it.
Can anyone help and let me know where I can find a sample code for that?
Many thanks,
|
by: mark.kishel |
last post by:
I would like to send an meeting request via email similar to google
calendar using asp.net(VB).
I have attached the ics file but it still shows up as an attachment,
outlook will not recognize it as calendar item.
I have seach everywhere on the net and can not find a fix.
Thanks,
Mark
| |
by: Rushwire |
last post by:
Does anybody know how to send a meeting request using an ics/vcs (VCalendar)
attachment from an asp.net page. I don't want my users to have to double
click on the attachment but rather that it is simply recognised automatically
as a meeting request.
The article below shows an example of very close to what I am trying to do.
The difference being that I want the email to be sent as a meeting request
not as an
attached ics file.
|
by: Mike Driscoll |
last post by:
Hi,
The next Iowa Python Users Group (AKA Pyowa) is nearly upon us. We
will be meeting November 3rd, from 7-9 p.m. at the following location:
Marshall County Sheriff's Office
2369 Jessup Ave
Marshalltown, IA 50158
At this meeting, we will be having a Crash Course of sorts for all the
|
by: wktarin |
last post by:
Hi. I'm a relative newcomer to the world of php, and I keep bumping into a problem with a mail () form. I need to send an automatic email to two addresses, but I can't seem to get it to work. One email address works just fine, but I can't get the email sent to two different addresses no matter what I try. Below is my code. If someone could help me spot my errors, I'd appreciate it. Thanks!
Code from actual page:
<?php
//Check if the form...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |