Hi terry,
this code sample is very good to solve the 1246 error problem, and I will use it. Unfortunately not solve my problem, I need to trigger when the time of processes of a command OLE, it is very long. Because I could be known if the session OLE with Word stopped, but not closed. I really need to know how to do it. If you can help me, I thank at once.
Regards,
---------------------------------------------
Mauro Ricardo Chaves de Oliveira
Petrobras/RJ
Technical Documents Manager
---------------------------------------------