|
-
November 5th, 2008, 08:27 PM
#2
While not elegant., did you try a brute force kill?
e.g.
Process[] procs = Process.GetProcessesByName("EXCEL");
foreach (Process p in procs)
{
int baseAdd = p.MainModule.BaseAddress.ToInt32();
//oXL is Excel.ApplicationClass object
if (baseAdd == oXL.Hinstance)
p.Kill();
}
Last edited by Cheap Scotch Ron; November 5th, 2008 at 08:36 PM.
Similar Threads
-
By RebelToTheEnd in forum General Computer Discussions
Replies: 0
Last Post: January 11th, 2005, 03:01 PM
-
By IcSilk in forum Newbie Security Questions
Replies: 7
Last Post: July 5th, 2004, 08:23 PM
-
By gore in forum Operating Systems
Replies: 3
Last Post: March 7th, 2004, 08:02 AM
-
By NullDevice in forum Programming Security
Replies: 2
Last Post: October 15th, 2003, 09:06 PM
-
By One Who Watches in forum Other Tutorials Forum
Replies: 0
Last Post: July 19th, 2003, 11:50 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|