Hi!
There are a cuouple of things to try related to COM/ActiveX. Try _VFP.AutoYield and sys(2333) function.
It would be good to know details and, specially, version of CDO.
>I have started using CDO (“MAPI.session”) object to add appointments to Outlooks calendar. All works fine until I release the object pointer variable or close the application, when FoxPro falls over with an exception error.
>
>Has anyone had similar problems?
>
>Colin.
>
>PS Sorry – I don’t have exact details of the error or code samples with me at the moment...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.