I wasn't aware it does with this way. I changed init code to :
Procedure Init
LOCAL oWord
oWord = CREATEOBJECT("Word.Application")
oWord.Documents.Add
With This
Select myWordDocs
Scan
.Refresh()
.myWord.Object.Content.Copy
oWord.ActiveDocument.Content.Paste
oWord.ActiveDocument.SaveAs(Sys(5)+Curdir()+;
'DOCUMENTS_'+Transform(Recno('myWordDocs'))+'.doc')
Endscan
Endwith
oWord.ActiveDocument.Saved = .t.
oWord.Quit
Endproc
Sounds to be faster and doesn't leave open winword processes.
Cetin
>Dear Cetin:
>
>Thank you very much for your valuable help. Your answer was on the mark. I am sorry that I have not responded earlier to your feedback, because this task is still in progress. When I am done I will provide you with the code that I used which is largely based on your code.
>
>In the meantime I am having a particular difficulty in clearing the “windord.exe” from memory. I have tried numerous methods to no avail such as.
>
>Release all like o*
>OForm=null
>
>Any ideas?
>
>By the way I am not Turkish. All my old relatives spoke Turkish in Lebanon and they still speak about the Turkish era.