PowerPoint Automation

L

L Norton

I am having a problem with PowerPoint Automation on save. Under
certain conditions (Meaning after I have tested the program and sent
it off to someone) when the VB.Net exe attempts to save a created
powerpoint a prompt dialogue displays:

"If you are planning on sending this presentation back to the original
author, you may want your changes to be marked as revisions. Revision
marks
indicating your edits will appear when the author merges this copy
with his
or her original presentation. Do you want to automatically add this
additional information when you save the file? [Yes] [No] [Cancel]
[Help]"

Of course the exe is intended to run unassisted and can't when this
dialogue pops up when a new save occurs.

How do I avoid/ignore this prompt?
Here is a bit if my code (let me know if you need to see more):
Dim oApp As New PowerPoint.Application()
Dim oPres As PowerPoint.Presentation
Dim ppPre As Object
.....
ppPre = oApp.Presentations.Add(true)
ppPre = oApp.Presentations.Open(pptPath & "Template.PPT",
MsoTriState.msoFalse)
'Add slides and video, text etc. no problems here
ppPre.SaveAs(sFileShell)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top