Here is the simple code I'm using:
//Create a New Appointment
appt = (GroupwareTypeLibrary.Appointment10)groupwiseAccount.WorkFolder.Messages.Add(gwAppointment, egwDraft, _missing);
catch (System.Exception ex)
MessageBox.Show("Could not create Appointment item:\r\n\r\n" + ex.Message);
I get the following error when adding the appointment:
Object does not match target type.
Any ideas why this doesn't work?