Forcing the MS Office applications to close,from ASP.NET

Further to my article on releasing Excel Objects from ASP.NET using Marshal.Release,Another way of doing it is to use the system.diagonostics Class and kill the process.You can pass any application name in this

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish