>Klas,
>I shouldn't ask this but I have to doublecheck. Is there a "document" table with "ole_object" field with an embedded word doc (current record) and do you have a "temp" dir on c: drive ?
>cetin
Hi Cetin, me again...
I just found the problem. I was trying to find out what caused the problem using a number of different parameters running in the Debug window while running the code below, and then it worked!!
THISFORM.Ole.Object.SaveAs("C:\Test.doc")
When I don't have the Debug window running the problem occurs, with it running it is not there any more. Seems as though VFP is calling MS Word 'too fast' or something. When slowed down it works fine.
(using VFP 3.0 for Win & Mac)