In WPF Not Able to Kill Adobe Acrobat Reader
Posted
by
Blam
on Stack Overflow
See other posts from Stack Overflow
or by Blam
Published on 2012-11-16T22:02:10Z
Indexed on
2012/11/16
23:00 UTC
Read the original article
Hit count: 226
Problem with killing Adobe Acrobat Reader
Code used to launch the process
nativeProcess = new Process();
nativeProcess.StartInfo.FileName = filePath;
nativeProcess.Start();
These are Microsoft Office Files or Adobe Acrobat.
Code used to kill
if (nativeProcess != null)
{
try
{
nativeProcess.Kill();
}
catch { }
}
if (nativeProcess != null)
{
try
{
nativeProcess = null;
}
catch { }
}
My problem is that Adobe Acrobat Reader does not Kill() when the app is running as a Citrix app.
If I log on at the Citrix box and run it as a Desktop app then Acrobat Kill() works.
Microsoft Office Kills() fine as both a Citrix app and a Deskop app.
User can close Acrobat Reader using the X or close
© Stack Overflow or respective owner