I saw numerous posts on this question here, but no one seems to have answered this question directly. I want to control two instances of Powerpoint running on a second monitor.
An ideal solution would look like this:
PowerPoint.Application PPTViewer1 = new PowerPoint.Application(); PowerPoint.Application PPTViewer2 = new PowerPoint.Application();
I can do this manually by simply launching two instances of PowerPoint, downloading the presentation, and running the slide show from each instance. I can switch between the two slide shows manually, with each one highlighted as expected.
So ... how to do this programmatically using VSTO and C #? Like the others in front of me, I see that the Interop.PowerPoint interface will only create one instance. If this were not so, I could achieve the results that I am looking for quite easily.
Also, I'm not looking for a third-party component for this task.
Any help is appreciated.
Thanks in advance.
c # powerpoint vsto office-interop
Jamiemeyer
source share