MB Software Solutions,  LLC wrote on 2011-01-13: 
> I have code that checks for an update like this:
> 
> IF MESSAGEBOX(lcMsg,4+32+0,"Update available!") = 6 THEN && get update
> file, then launch and exit from this.
>    loShell = NEWOBJECT("_ShellExecute", "_environ.vcx")
>    loShell.ShellExecute(lcFile) RELEASE loShell QUIT
> 
> ...and the app *appears* to quit, but it hangs around in the Task
> Manager.  Meanwhile, lcFile launches but can't complete because the
> app isn't removed from memory.
> 
> Any ideas as to why?
> 
> Thanks,
> --Mike
>

Mike,

The ShellExecute function in that class is waiting until the application
finishes?

You can use Process Monitor to see what file handles are still open left
over app. This might give you a clue to why it isn't closing.

Tracy Pearson
PowerChurch Software




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/001701cbb369$2b2a46c0$817ed440$@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to