I am searching a way to check with C#, if there is an open Adobe Acrobat Reader and when it is, get the filename with the path of the open PDF.
Can someone give me a tipp?
Thank you.
Best Regards, Thomas
I am searching a way to check with C#, if there is an open Adobe Acrobat Reader and when it is, get the filename with the path of the open PDF.
Can someone give me a tipp?
Thank you.
Best Regards, Thomas
you can get this working with Process class.
Process[] acrobats = Process.GetProcessesByName("Acrord32");
foreach (Process p in acrobats)
{
Console.WriteLine(p.MainWindowTitle);
}
Hope this gives a clue...
something close to your requirement