Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QProcess Power Point Open/Save Error.

QProcess Power Point Open/Save Error.

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 786 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pada_
    wrote on last edited by
    #1

    I had to run an EXE file written in Visual Basic with QProcess.

    When you run EXE, Power Point Macro BAS file is executed automatically.

    When the power point is fully executed, the power point is executed. After the power point is stored, the power point is terminated.

    However, if you run QProcess with Power Point running, you will get an error.

    Why is this so?

    jsulmJ 1 Reply Last reply
    0
    • P Pada_

      I had to run an EXE file written in Visual Basic with QProcess.

      When you run EXE, Power Point Macro BAS file is executed automatically.

      When the power point is fully executed, the power point is executed. After the power point is stored, the power point is terminated.

      However, if you run QProcess with Power Point running, you will get an error.

      Why is this so?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Pada_ said in QProcess Power Point Open/Save Error.:

      if you run QProcess with Power Point running, you will get an error

      What error?
      Are you trying to overwrite Power Point document which is already in use by another running Power Point instance?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Pada_ said in QProcess Power Point Open/Save Error.:

        if you run QProcess with Power Point running, you will get an error

        What error?
        Are you trying to overwrite Power Point document which is already in use by another running Power Point instance?

        P Offline
        P Offline
        Pada_
        wrote on last edited by
        #3

        @jsulm said in QProcess Power Point Open/Save Error.:

        미 실행중인 다른 파워 포인트 인스턴스에서 이미 사용중인 파워 포인트 문서를 덮어 쓰려고합니까?
        A power point is created as it was before.

        jsulmJ 1 Reply Last reply
        0
        • P Pada_

          @jsulm said in QProcess Power Point Open/Save Error.:

          미 실행중인 다른 파워 포인트 인스턴스에서 이미 사용중인 파워 포인트 문서를 덮어 쓰려고합니까?
          A power point is created as it was before.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Pada_ This doesn't look like an error.
          Do you mean the document is unchanged?
          How do you start Power Point?
          Did you check whether you get any errors from QProcess?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Pada_ This doesn't look like an error.
            Do you mean the document is unchanged?
            How do you start Power Point?
            Did you check whether you get any errors from QProcess?

            P Offline
            P Offline
            Pada_
            wrote on last edited by
            #5

            @jsulm

            Running without powerpoint normally results.

            However, when powerpoint is turned on, the same result as before is displayed.

            QProcess seems to have no problems, and VBA seems to be a working problem.

            jsulmJ 1 Reply Last reply
            0
            • P Pada_

              @jsulm

              Running without powerpoint normally results.

              However, when powerpoint is turned on, the same result as before is displayed.

              QProcess seems to have no problems, and VBA seems to be a working problem.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Pada_ said in QProcess Power Point Open/Save Error.:

              However, when powerpoint is turned on, the same result as before is displayed.

              So, your VBA exe does not work properly when Power Point is running?
              Does it print out any errors/warnings?

              "QProcess seems to have no problems" - how do you know? Did your check https://doc.qt.io/Qt-5/qprocess.html#errorOccurred ?
              Did you check whether your app prints out any errors/warnings?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Pada_ said in QProcess Power Point Open/Save Error.:

                However, when powerpoint is turned on, the same result as before is displayed.

                So, your VBA exe does not work properly when Power Point is running?
                Does it print out any errors/warnings?

                "QProcess seems to have no problems" - how do you know? Did your check https://doc.qt.io/Qt-5/qprocess.html#errorOccurred ?
                Did you check whether your app prints out any errors/warnings?

                P Offline
                P Offline
                Pada_
                wrote on last edited by
                #7

                @jsulm

                PowerPoint will be created when you make a VBA EXE file with QProcess.
                At first it is normal. If you run EXE again with QProcess while PowerPoint is on, new contents will be saved and saved as same as the original PowerPoint.

                If you exit and run all Powerpoint, it will save normally.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved