Separate process is not creating in MS PowerPoint while creating in MS Word and Excel

Viewed 10

We have designed Microsoft Addins for MS PowerPoint 2019 written in VB.net. There I am trying to create separate process in MS PowerPoint to open a presentation/file using the given below snippet

 Dim objPpt As PowerPoint.Application
 Dim objDoc As PowerPoint.Presentation
 objPpt = CreateObject("Powerpoint.Application")
 objDoc = objPpt.Presentations.Open(processFile, False, , True)
 objPpt.Visible = True

but it creates threads of Parent file and does not open a file as a separate process where in MS Word I use the given below snippet

Dim objWord As Word.Application
Dim objDoc As Word.Document
objWord = CreateObject("Word.Application")
objDoc = objWord.Documents.Open(processFile, , , True, , , , ,, , , , ,, ,)
objWord.Visible = True

And it opens the word document as a separate process.

So I need to create separate process for each file/presentation in MS PowerPoint

Can you help in resolving this issue ?

Here are some more information about on which environment I'm working :

Operating System : Microsoft Windows 10 Pro

Code Editor : Visual Studio 2019

Technology : Vb.net(.Net Framework 4.8)

MS Office Version : 2019(32 bit)

1 Answers

Word and Excel both allow multiple instances of themselves to be created. PowerPoint does not (other than as the result of an obscure bug).

Related