>How can i handle the error when openning an word document that is allready open
>I'm using VFP 5.0 and Word 7.0
If you mean fileopen error simply try to fopen() the file first and if handle returns > 0 close and open in word. If you mean new word instance then use getobject() instead of createobject.
Cetin