Can you trap this error with your regular error handler?
Joe
>Hello,
>
>If I create a Word application server, like
>owordobj = createobject("word.application")
>owordobj.visible = .t.
>owordobj.activate
>and then go to Word and close it, any future calls with owordobj returns the RPC server is unavailable error. Is there a way to test in VFP code whether the server or other COM object to which I have a reference is still instantiated?
>
>Thanks,
>
>Rod Poujade
>Montreal, Canada
Joseph C. Kempel
Systems Analyst/Programmer
JNC