Hello,
If you run my sample, Appointment is loaded into Appointment with no exception, no error at all…
But when trying to Appointment.Save, an exception is thrown, no idea if this exception should occur or not, maybe we just wanna save the input ics as msg, as is, as Outlook does… huh?
Anyway, the main problem is that it makes a zero-byte file on the target path and after exception, will leave it as is!
Must remove it, or don’t keep such unfinished files!
Better to do internal checks first, if no problem is found, then open the output file stream huh?
WindowsApplication399.zip (3.8 MB)