K
Ken Slovak - [MVP - Outlook]
CDO 1.21 will fire the security prompts. You have to set
AppointmentItem.MeetingStatus to 1 (olMeeting) plus set any required and
optional attendees. Required are olTo (1), optional are olCC (2) and
Resources are olBCC (3). Then after you set the other required properties
you call send. The appointment has to be created in the default Calendar
folder for CDO to recognize it as an appointment.
You'd be better off using the Outlook object model although you'd still get
security warnings if you weren't running in a COM addin or using a security
bypass.
AppointmentItem.MeetingStatus to 1 (olMeeting) plus set any required and
optional attendees. Required are olTo (1), optional are olCC (2) and
Resources are olBCC (3). Then after you set the other required properties
you call send. The appointment has to be created in the default Calendar
folder for CDO to recognize it as an appointment.
You'd be better off using the Outlook object model although you'd still get
security warnings if you weren't running in a COM addin or using a security
bypass.