none
Microsoft.Office.Interop.PowerPoint.Application not working RRS feed

  • Question

  • i use windws 8.1 64bit , visual studio 2013.

    Imports Microsoft.Office.Interop

    Module Module1

        Sub Main(ByVal path() As String)
            Dim oApplication As PowerPoint.Application = Nothing
            Dim oPressentation As PowerPoint.Presentation = Nothing

            isRunningPowerPoint()

            Try
                If oApplication Is Nothing Then
                    oApplication = New Microsoft.Office.Interop.PowerPoint.Application
                End If

    My code is as above.

    If you run the file while PowerPoint is not running, a new PowerPoint will be created.

    However, if PowerPoint is running, the new Microsoft.Office.Interop.PowerPoint.Application displays the existing PowerPoint on the screen and exits.

    Is there a way to launch a new PowerPoint?

    Thank you !

    Wednesday, October 23, 2019 11:49 PM