>>Maybe I can just check TYPE of oExcel (a form property) at form closing time, and issue Quit if it's still 'O'. I'll have to test some, then re-post if I have any difficulties here...
>
>
You'll face some difficulties with checking type("oExcel") (been there before :) Then you have the other option which I can slightly detail for now (leave time is just near) :
>public gnHwnd && or form property
>-invoke excel
>-Get window handle via API to gnHwnd
>-Loop while iswindow(gnHwnd)
>
>There are others like getting class and checking its existence, but I had troubles with it like it catches another excel window that's launched independently from fox too.
>I didn't have a time to check IsAppRun(32) rom files section.
>Cetin
Okay, thanks for the news (I think :) You know, I ran these Excel instances all the time with GETOBJECT() and never had any of these problems. Ah, well...
I'll keep your handle idea in mind, that sounds like a safe way to do it.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.