Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How to kill excel process
Gomathi Palaniswamy
Dec 23 2011 12:27 AM
6.1k
Reply
foreach
(
Process
p
in
Process
.GetProcesses())
{
if
(p.ProcessName ==
"EXCEL"
)
{
p.kill()
}
}
i am using above code to kill the excel process..but it returns access denied error..please help me to kill all excel process...its urgent..pls reply..
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
How to retive the data using detail view in Dropdown List Visual Studio 2005
C# windows application