In WPF Not Able to Kill Adobe Acrobat Reader
- by Blam
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