Hello Verydoc support.
We have an issue that we require assistance with.
Our customer is trying to use pptconv.exe called via a service using the command line to convert a PowerPoint presentation that is protected by a password.
We do not want pptconv.exe to convert the presentation through the service command line call. But we do not want it to hang as it currently does, we would like it to exit gracefully with a specific exit code.
We would like the pptconv.exe to simply exit, without processing when it encounters a PowerPoint presentation with password protection, with a specific code.
I have a server set up with an example of a presentation we are having issues with, and I have TeamViewer set up on this server for you to log in and take a look.
Please let me know when you are available to carry this out.
==============================================
Can you please email to us your sample PowerPoint presentation which contain password for test purpose? After we checked your sample PPT file, we will figure out a solution to you asap.
VeryPDF
==============================================
please find attached a password protected powerpoint that displays this behaviour.
As mentioned we runa service that makes command line calls to pptconv.exe. Here is the specific command that we run against this powerpoint presentation that shows the behaviour. I have verified this by running it myself directly on teh command line.
We are running Windows 2003, PowerPoint 2007, and pptconv.exe v3.1.0.1.
Here is the command: "C:\Program Files (x86)\VeryDOC PowerPoint Converter v3.0\pptconv.exe" "C:\RMISlideConverter\work\20110602072530008-5656E4EC-37E5-3C16-4EFD-750761381914\Sample.ppt" "C:\RMISlideConverter\work\20110602072530008-5656E4EC-37E5-3C16-4EFD-750761381914\original\.png"
I look forward to hearing from you.
Regards
==============================================
We have created a new version to you, please download the new version from following URL,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
the new version does support following parameter,
-ppttimeout : Specify a timeout to avoid hanging PowerPoint conversion, in millisecond
you can use this parameter to set a timeout for PowerPoint conversion, for example,
E:\flash\PPT2Flash\bin\pptconv.exe -ppttimeout 10000 D:\temp4\Sample.ppt D:\temp4\Sample.png
“Timeout” is the only solution to suppress the PowerPoint password prompt dialog, there is no any solution for suppressing the password dialog or to know whether the ppt is
password protected. It is also not possible to skip password protected PPT file.
PowerPoint OLE and VBA code hasn’t an option to open the PPT file with a password, but word and excel have such an option. So we have to use “Timeout” solution to force to kill the PowerPoint application after time is out.
Please don't hesitate to contact us if you have question on this.
VeryPDF
==============================================
Thank you for this.
Can you advise if there is a default value set for the timeout if it is not set by us when we call pptconv.exe.
I look forward to hearing from you.
Regards
================================================
New version of pptconv.exe hasn’t a default value set for -ppttimeout parameter, if you don’t provide a timeout value, it will always wait until you input the password or close password dialog by manual.
VeryPDF
==================================================
Hello Verydoc,
we have discussed this further internally, and the timeout functionality is not going to be able to resolve our customers issue, due to large range of number of slides that our customers have in their presentations.
A solution to our issue would be that if after a period of time, 30 seconds, pptconv.exe has not started reading the slides (possibly because of a password restriction), it should exit with an error code.
Within the pptconv.exe you should be able to see when the pptconv.exe starts reading the powerpoint slides, and set a timer around this first reading of the slides.
Can you carry out a change to enable the above functionality and let us know the timescale to carry out this work?
I look forward to hearing from you.
=======================================================
Your suggestion is great, please download the new version of pptconv.exe from following URL,
XXXXXXXXXXXXXXXX
the new version of pptconv.exe was modified as your suggestion.
VeryPDF
VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]