Questions tagged [powerpoint-automation]
13 questions
4
votes
2 answers
The document cannot be opened because there is an invalid part with an unexpected content type
I am getting a error while opening using a presentation (PPTX files) creation code.
Code i am using is given below:
public static void UpdatePPT()
{
const string presentationmlNamespace =…

Deep Sharma
- 3,374
- 3
- 29
- 49
3
votes
1 answer
PowerPoint Interop: Get Placeholder by Name defined in Master
In my PowerPoint AddIn I want to access shapes on the slides. The shapes are placeholders defined in custom layouts in the slidemaster.
When I add a slide based on the custom layout, the shapes just get named "placeholder 1", "placeholder 2", ...
Is…

Tobias
- 2,945
- 5
- 41
- 59
2
votes
2 answers
PowerPoint vba BeforeSaveAs
I have a PowerPoint template, which is links up with Excel. Some of the areas in Excel has been copied with links, so that it will automatically update.
Whenever this PowerPoint template will be Saved As, I need to remove these links to external…

Patrick S
- 325
- 2
- 12
2
votes
1 answer
Changing the range of a Chart in Powerpoint
I am experimenting with creating Powerpoint slides out of C#, because I have to create reports out of a tool of mine. The idea to export them to Powerpoint is a given requirement, so I can't change that.
I create and fill a new chart like this:
var…

Xlaech
- 456
- 3
- 19
1
vote
1 answer
How to use PowerPoint Automation in C++ Builder?
I get this error message when i try to open PowerPoint file (ppt) using Variant automation:
Unknown Name
I tried using Automation:
// Open PPT File
void TMainForm::OpenPPTFile(UnicodeString APPTFile)
{
UnicodeString ppt_path =…

Jack
- 43
- 4
1
vote
0 answers
Export Power Point slides into images then memory stream
I able to export Power Point Slides into images to my local path by using Microsoft.Office.Interop.PowerPoint DLL's Presentation classes, below is my code,
Is it possible to load that image into a Memory Stream instead of local storage?
How to…

sridharnetha
- 2,104
- 8
- 35
- 69
1
vote
1 answer
Unstable Office(Powerpoint) Automation
I am working on an app that will allow the user to upload a presentation, edit it, and then download the final output as another PowerPoint presentation.
I have very unstable behavior for different presentations that I upload:
Sometimes the changed…

Milind Anantwar
- 81,290
- 25
- 94
- 125
1
vote
1 answer
Sharepoint 2013 Manage Service Applications - Missing PowerPoint Automation Services
We just did a fresh SharePoint 2013 farm installation and want to manually configure the service applications used - we are not using the Farm Configuration Wizard.
The issue we are facing is that PowerPoint Automation Services does not appear in…

SliverNinja - MSFT
- 31,051
- 11
- 110
- 173
0
votes
1 answer
Powerpoint VBA Grouping is disabled for the selected shapes
I am trying to create a Sub process which create a bunch of image and group it multiple times.
For First loop everything runs OK VBA Code runs as expected, On Second run VBA gives the error "Grouping is disable for selected shapes"
Sub…

oneclick
- 91
- 2
- 9
0
votes
0 answers
PowerPoint Application .Quit() is causing all processes to be closed
We have some code where we are using Microsoft.Office.Interop.PowerPoint to export some dashboards. We are seeing issues where when we export the dashboard everything is working, but within 2 minutes or so ALL opened Power Points are automatically…

tvb108108
- 398
- 3
- 19
0
votes
1 answer
Inserting pictures using interop (C#) into powerpoint
can someone help me out?
I'm trying to insert pictures into powerpoint using this code:
PPT.Shape sheetShape = slides[slideIndex].Shapes[shapeName];
...
slides[slideIndex].Shapes.AddPicture(fileName, MsoTriState.msoFalse, MsoTriState.msoTrue,…

RedDot
- 71
- 1
- 7
0
votes
1 answer
Addin Ribbon not visible in powerpoint
I have created a addin ribbon in visual studio interop power point. But now
I am not able to see the addin ribbon when i run my project can someone suggest what the problem is. I do not even get debugger within this code that i tried where it…

user2583182
- 185
- 5
- 22
0
votes
1 answer
Sharepoint 2013 PowerPoint Conversion Service - Missing ISAPI Assembly
We are trying to create a SharePoint farm solution using PowerPoint Automation Service. However, we are unable to find the Microsoft.Office.Server.PowerPoint.dll in the Sharepoint 15 ISAPI hive. This assembly is required for PresentationRequest…

SliverNinja - MSFT
- 31,051
- 11
- 110
- 173