Unsolved QProcess Power Point Open/Save Error.
-
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?
-
@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? -
@jsulm said in QProcess Power Point Open/Save Error.:
미 실행중인 다른 파워 포인트 인스턴스에서 이미 사용중인 파워 포인트 문서를 덮어 쓰려고합니까?
A power point is created as it was before. -
@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? -
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.
-
@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? -
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.