I used this a long time ago http://www.tech-recipes.com/rx/446/xp_kill_windows_process_command_line_taskkill
It won't tell you if it's running, but it will allow you to kill it by name. --- On Thu, 5/15/08, Sytze de Boer <[EMAIL PROTECTED]> wrote: > From: Sytze de Boer <[EMAIL PROTECTED]> > Subject: VFP - Excel running ? > To: [email protected] > Date: Thursday, May 15, 2008, 11:27 PM > Is there a way to see if Excel is already running, and if > so, can you kill > Excel (all from within VFP) > (i.e. it is not in the status bar, but I can see Excel in > the Task manager > under processes) > > -- > Regards > Sytze de Boer > Kiss Systems > Ph: 64-7-8391670 > Mob:021 937611 > http://kiss.systems.googlepages.com > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > > _______________________________________________ > 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/[EMAIL PROTECTED] > ** 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. _______________________________________________ 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/[EMAIL PROTECTED] ** 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.

