سؤال

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...

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top