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 !
    Thursday, October 24, 2019 12:41 AM

All replies

  • Hi,

    I'm afraid your provided code is not sufficient.
    Could you provide more code relating the issue?

    Regards,

    Ashidacchi -- http://hokusosha.com

    Friday, October 25, 2019 3:15 AM
  • 이것이 코드의 전부입니다.

    상태가 낮은 릴리스 exe를 만들었습니다. 사용자가 파워 포인트를 켠 상태에서 해당 exe를 실행하면 새로운 파워 포인트가 열립니다.

    그러나 파워 포인트가 이미 그 안에 있다면

    oApplication = New Microsoft.Office.Interop.PowerPoint.Application80080005 오류와 함께 실패합니다.

    コードは、それがすべてです。

    その状態でrelease exeを作成しました。ユーザーがpower pointをつけた状態で、そのexeファイルを実行すると、新しいpower pointが開いたらと思います。

    しかし、私powerpoint new部分で既にpower pointが実行されている場合、80080005のエラーが出ながら失敗します。


    • Edited by Pada_ Tuesday, November 12, 2019 4:46 AM
    Tuesday, November 12, 2019 4:45 AM
  • Hi,

    Sorry, I cannot understand the issue and cannot provide anything.
    (My browser shows Hanguel letters in your post.)

    Regards,

    Ashidacchi -- http://hokusosha.com

    Tuesday, November 12, 2019 9:00 AM