>In Word automation, I have issued DisplayAlerts=.F. However, when opening my file, if that file is already opened, Word fires a message:
>
>'file' is locked for editing
>
>How can I detect that with the Open command without having this to be displayed?
>
>
>loWord=CREATE('Word.Application')
>loWord.DisplayAlerts=.F.
>loWord.Documents.Open(lcFile)
>
Does reply to your other thread help? fopen()?
Mark McCasland
Midlothian, TX USA