Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
開いているAdobeAcrobatReaderがあるかどうかをC#で確認する方法を探しています。ある場合は、開いているPDFのパスを含むファイル名を取得します。
誰かが私にヒントをくれますか?
ありがとうございました。
よろしく、トーマス
これをProcessクラスで機能させることができます。
Process[] acrobats = Process.GetProcessesByName("Acrord32"); foreach (Process p in acrobats) { Console.WriteLine(p.MainWindowTitle); }
これが手がかりを与えることを願っています...
あなたの要件に近いもの
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/a298349a-a59a-4c6e-ad42-bd9f0cf80fb0/