有没有办法将现有的 MS Publisher 实例获取为Microsoft.Office.Interop.Publisher.Application
?
我发现了这个:
System.Diagnostics.Process.GetProcessesByName("Microsoft Publisher")
所以我可以检查它是否已经在运行,但是如何将它转换为 MS Publisher 应用程序?所以我可以打电话Microsoft.Office.Interop.Publisher.Application.Open
给例如?