Hi Yuri,
I tested the code with Outlook 2003 and it worked fine. I don't have Outlook 2002. Did you check article that my code based on? Maybe there's something related in the comments there.
>
>In Outlook 2002 SP3 I played with your solution, created the appoitment, changed color, saved, etc. But now I have some problems in Outlook with this appoitment.
>Visually the appoitment is dark colored (looks like a dark rectangle) in the calendar particular day list.
>
>From Outlook if manually, I cannot delete this appoitment, cannot open it, cannot do anything except highlithing it in the Calendar. All operations give the Send Error dialog and Outlook is closing.
>
>From the foxpro code, I can get .Subject, .Location, .Body, but most other calls give "The server threw an exception" error. I cannot get EntryId, and the type(".Parent") returns "U". Looks like this appoitment was not properly assigned or saved.
>
>Do you have any idea of what might happen, and how to resolve it?
>
--sb--