![]() |
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 |
#3
|
|||
|
|||
![]()
"Steve Ricketts" wrote in
: I'd like to send an appointment request with CDO in Visual Basic. I can find lots of examples of sending mail, but none of an appointment request. I'm not even sure if this is the right forum. If you mean CDO1.21 (rather than CDOSYS as in your other post), then something like this: Dim s As New MAPI.session s.Logon "profilename" Dim f As MAPI.Folder Set f = s.GetDefaultFolder(CdoDefaultFolderCalendar) Dim ai As MAPI.AppointmentItem Set ai = f.Messages.Add ai.Subject = "test" ai.Text = "hello" ai.StartTime = Now ai.EndTime = Now + 1 Dim r As MAPI.Recipient Set r = ai.Recipients.Add r.Name = "someoneelse" r.Type = CdoTo r.Resolve ai.MeetingStatus = CdoMeeting ai.Send Also, this is for Outlook Object Model code; sending an appointment that way would be different. -- dan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Out2007: Edit an appointment with other people without sending upd | Herbert Utner | Outlook - Calandaring | 0 | September 5th 07 10:30 PM |
problems sending appointment updates | careylu | Outlook - Calandaring | 0 | June 5th 07 05:10 PM |
Problems sending a calendar appointment. | Mike | Outlook - Calandaring | 3 | June 4th 07 03:16 PM |
Wrong appointment time when sending request | Jay Shu | Outlook - Calandaring | 3 | March 28th 07 03:17 AM |
Appointment Sending Error | Sprowler | Outlook - Calandaring | 0 | December 6th 06 09:47 PM |