What if:
lcOldError = ON([ERROR])
loWord = createobject('Word.Application')
ON ERROR &lcOldError
If !TYPE("loWord") or ISNULL(loWord) THEN
Messgabox(..)
Return False
endif
>Hi Sergey,
>
>no, I didn't see it here. The error handler is simple
>
>loWord = createobject('Word.Application')
>
>If !TYPE("loWord") or ISNULL(loWord) THEN
>Messgabox(..
>Return False
>endif
>
>
>It seem that this is one one comp ony and this comp has other problems with word automation to. I wait for a new install of Office.
>
>Agnes
>>Hi Agnes,
>>
>>Maybe the error handler eats the error?
>>
>>>
>>>no CREATEOBJECT simply returns no object.
>>>
>>>Agnes
>>
>>>>
>>>>do you get an OLE error or any message at all? This happened to me once and re-installing Word fixed the problem, but I think I got an error message.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.