Costas,
Are you getting the error in the form/class designer with the proerty sheet open? If so it's because the first item on the property sheet is marked read-only and VFP chokes on it. If you select a read/write property you should be ok.
>When I try to look at the properties of either MAPISession or MAPIMessages I get the following error.
>
>OLE IDsipatch exception 0 from MAPIMessages: Property is write-only...
>
>Same message for MAPISession.
>
>The first time I started VFP5 and added the controls I did not have a problem. However after I restarted I've been getting this message. I tried it on different computers and the same thing happens.
>
>It looks like maybe VFP is trying to change something in the controls when it should not. Does anyone have any ideas?