Click here to Skip to main content
15,895,656 members
Everything / Productivity Apps and Services / Microsoft Office / PowerPoint

PowerPoint

PowerPoint

Great Reads

by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
After the tip on Excel and Word, here we will explore the trick to verify whether Powerpoint is installed in the client's system or not by C#.
by KumarM.NET
This tip explains the features of PowerPivot, a Business Intelligence tool provided by Microsoft. This is integrated with Office 2010 and provides capabilities to represent the data in various formats to business users.
by LazyCoder0
This article describes how to merge PowerPoint Presentations (PPTX format) and save as PDF in .NET applications using Office Automation (OpenXML SDK).
by Prabu ram
This article explains how to take a snapshot of a Silverlight page and convert it into a PowerPoint slide.

Latest Articles

by thoughts-on-coding
How can we share and increase software development knowledge in a heterogeneous team? Weekly Knowledge Candy
by LazyCoder0
This article describes how to merge PowerPoint Presentations (PPTX format) and save as PDF in .NET applications using Office Automation (OpenXML SDK).
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
After the tip on Excel and Word, here we will explore the trick to verify whether Powerpoint is installed in the client's system or not by C#.
by KumarM.NET
This tip explains the features of PowerPivot, a Business Intelligence tool provided by Microsoft. This is integrated with Office 2010 and provides capabilities to represent the data in various formats to business users.

All Articles

Sort by Score

PowerPoint 

3 Dec 2013 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
After the tip on Excel and Word, here we will explore the trick to verify whether Powerpoint is installed in the client's system or not by C#.
20 Dec 2013 by Mike Meinz
You need to wait for the video to be completed. Your code exits PowerPoint before the video has been completed. Below is an example that works. Notes* I changed your variable path to strPath so that I could use Path.Combine. * I changed PowerPoint._Presentation to...
30 Aug 2012 by Joan M
FIRST ANSWERUse google.I've searched for: show powerpoint in htmland the results have been interesting:This first one goes a little bit further: it works as powerpoint but it is only HTML and XHTML: http://www.w3.org/Talks/Tools/Slidy2/#(1)[^]This is from the San Diego State...
27 Oct 2014 by Maciej Los
Have a look here: html5slides[^]. Demo: http://html5slides.googlecode.com/svn/trunk/template/index.html#1[^] interacts with left and right arrow keys ;)[EDIT]Embed a Presentation on Your Site[^]asp.net - Generate Powerpoint file on the fly[^]OpenXML Power Point templates[^]
21 Sep 2018 by Maciej Los
I'm not sure i understand you well, but... A presentation of PowerPoint application 2007 (and higher) is in OpenXml format[^]. This means that you can open it (and view) using, for example, 7-zip. For further details, please see: Structure of a PresentationML document (Open XML SDK) |...
30 May 2011 by 2000 P
Guys, i tried this, it will also work ....string selePPT = comboBox1.SelectedItem.ToString(); string before = ppApp.ActiveWindow.Caption; string after = ""; foreach (PPT.DocumentWindow pp in ppApp.Windows) { if...
30 Mar 2012 by lukeer
Create a file "Autorun.inf" containing this[autorun] open=file.pptxand put it in the root directory of your CD.Some PCs (those with activated autorun functionality) will try to run file.pptx. If a PC has an application installed that can handle .pptx files it will probably open...
4 Sep 2012 by Vijay Selvaraj
hi can you check ur powerpoint version u have MS OFFICe 2007 u must use 12.0 and u have office 2010 u must have us 14.0 or u have office 2003 u must used 11.0 version DLL in ur Project Reference..-Vijay
10 Jan 2013 by jimmyroyce@hushmail.com
In this case try repair ppthttp://www.repairpptonline.pptrepairtoolbox.com guarantees the compatibility with all possible configurations in use and MS Windows 98/.../7
11 Feb 2013 by CHill60
As Maciej Los liked my suggestion I'll post it as a solution - it might stop you getting flamed tooHave a look here , I've also seen some mutterings about itextsharphttp://stackoverflow.com/questions/1785582/best-way-to-convert-pdf-to-powerpoint-serverside-in-net[^]As an aside, I suspect...
7 Jun 2013 by ridoy
Here you go..http://stackoverflow.com/questions/3338474/programmatically-add-an-image-to-a-powerpoint-file[^]http://msdn.microsoft.com/en-us/library/office/bb870303%28v=office.12%29.aspx[^]
16 Jul 2013 by KumarM.NET
This tip explains the features of PowerPivot, a Business Intelligence tool provided by Microsoft. This is integrated with Office 2010 and provides capabilities to represent the data in various formats to business users.
15 Oct 2020 by bferk
if (path != ""){ bool validName = false; string nFile = "newFile"; PowerPoint._Presentation objPres; objApp = new PowerPoint.Application(); objApp.Visible = Microsoft.Office.Core.MsoTriState.msoTrue; objApp.WindowState =...
7 Mar 2014 by Maciej Los
Check this: Create, run, edit, or delete a macro - PowerPoint 2011 for Mac[^]I'd suggest you to visit this site: VBA in PowerPoint / Mac vs. Windows[^]. There you'll find ...Quote:(...) a handy trick if you need to write code that works on both PC and Mac: compiler switches.#If Mac...
25 Mar 2014 by Rage
No, there is not.See for instance : http://social.msdn.microsoft.com/Forums/office/en-US/7aadfd04-7fdb-4f53-981d-c575435d98fb/running-multiple-instance-of-powerpntexe[^]
11 Jun 2014 by Kees van Spelde
You can use b2xtranslator for that, you can find it on sourceforgehttp://b2xtranslator.sourceforge.net/[^]Renaming the file mentioned above isn't the solution, a PPT file is a binary compound storage file and a PPTX is more like a ZIP file.
12 Oct 2014 by CHill60
Hardly the place to point this out.Assuming you want to find a way to fix this, and not just share the tragic information with us, you should start here[^] for a fix.
12 Nov 2014 by Maciej Los
At the bottom of referred window is 'Manage' button. You need to use it to enable/disable add-in.View, manage, and install add-ins in Office programs[^]
29 Oct 2015 by Dave Kreskowiak
1 through 4, those are not requirements. They are random statements that have nothing in common with each other without a far more extensive and detailed description of the applications functionality.Number 5 is simply a waste of time as any "protection" scheme you come up with will be...
8 Oct 2018 by Richard MacCutchan
Talk to the person who sent you the file.
4 May 2021 by CHill60
Unlike most other Microsoft Office Applications, running a macro on the Open event is not straightforward in PowerPoint. You can - download one of the many Add-Ins that can facilitate this - or do some fancy tricks with a Custom UI component -...
19 Mar 2015 by Joan Magnet
Use a non-proportional font, like courier new.
7 Jun 2011 by 2000 P
Hi, Is there any good reference available for this kind of scenario? If multiple version of Word or PPT opened, code should able to handle the automation between the documents irrespective of their version. I tried interop assemblies which work with one version at a time. But in case...
7 Jun 2011 by S Houghtelin
I am not real clear on what exactly it is you are trying to accomplish, but here goes.If this is a company application used internally, the IT Admin can configure the Office application to save documents as Office 97-2003 compatible format by default. The 2003 interops generally work with...
27 Jun 2011 by Mike Ombrello
I have a problem that I have been working on for several weeks, exhausting all resources I have available. I have a macro in the workbook that I am working in. The macro checks out a different spreadsheet (that I will want to make changes to) and then should check it back in. When I run the...
27 Jun 2011 by Mike Ombrello
I apologize for the incorrect title of this post. It should have been "Cannot programatically checkin Excel workbook to Sharepoint.
3 Aug 2011 by Member 8132974
Hi Friends, Is that possible to handle two versions of PowerPoint simultaneously in C#? Like, copying contents from one PPT to another versions PPT like we do manually?Scenario: PPt 2007 and Pt 2010 opened at your desktop. A C# application should copy contents from SourceFile.pptx (v 2007)...
29 Aug 2011 by sujitbhosale
Hi I am using MS Object Library 14.0 for creating Chart automation in C sharp.Please provide me any method using that I can change Second Y axis title.Thanks in Advance. Thanks,Sujit
23 Dec 2011 by Neserize
Hi,How can I get all opened instances of PowerPoint presentation and get names of files or process id?Thanks.
23 Dec 2011 by theanil
http://support.microsoft.com/kb/316126[^]
23 Dec 2011 by Neserize
var app = new Microsoft.Office.Interop.PowerPoint.Application().Windows;Like this
18 Feb 2012 by jaipe
Hi, I need to show the ppt file inside windows form, I have added WebBrowser control and able to show, but on button press it is asking as open, save, cancel and the slideshow just goes to 2nd slideshow and stops. On button press it should open automatically and the slides should be running as...
18 Feb 2012 by El_Codero
Hi,I don't exaclty know how the Microsoft.Office.Interop.PowerPoint namespace is used with webbrowser control but this http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.applicationclass_members.aspx[^]looks like a good starting point.Regards,Bjoern
30 Mar 2012 by Nikhil Dayalpawar
Hi,How do i autorun file.pptx (file.pptx file in cd).i want to open file.pptx that is in cd..when user insert cd into his cd drive..automatcally open the file.pptx...how can do that ..
30 Mar 2012 by RohanPPatil
You cant run that Directly change the .pptx format to .ppsx format and save it into CD so when you run that its appears as you want also.PPTX file extension also has some related file formats such as: .shs, .epub, .ics, .vcf, .sbf, .pcap, .WLMP, .pbd, .bok, .tps, .prc, .ods, .mxd,...
1 Jun 2012 by theskiguy
I have a VB.net program that batch converts MS Word and MS Excel files to PDF’s. The VB program uses ExportasFixedFormat to create the PDF’s which works great. I’ve been asked to change the program so that it also converts MS PowerPoint files. I have gotten everything to work but there is one...
28 Aug 2012 by Ganesh Nikam
hellohope this will help youhttp://stackoverflow.com/questions/39855/embed-a-powerpoint-presentation-into-html[^]
4 Sep 2012 by Iam Velu
hi all, i have application which converts microsoft powerpoint slides to images.For that i use below to achieve it.using Microsoft.Office.Core;using Microsoft.Office.Interop.PowerPoint;I am able to convert it without any problem in local machine whereas when i host it in live server...
4 Sep 2012 by Mehdi Gholam
It's a bad idea to use Office interop on servers, and yes you have to install office on the target server.Try using components for this like : http://www.aspose.com/categories/.net-components/aspose.slides-for-.net/default.aspx[^]
31 Mar 2013 by deezZ
Hi,I have a scenario wherein, based on the user selection of products i need to fetch slides from presentations and merge it into a single file and then give an option to download it.I am already storing the path of files in database along with each product details.I can modify the...
6 May 2013 by sandhyagor
what should be included in the poject presentation file of the final sem project done in vb.net on computer based exam system??like introduction,about the system etc. then??
6 May 2013 by Richard MacCutchan
There is an old adage about giving presentations:Tell your audience what you are going to tell them.Tell it to them.Tell them what you have told them.So in point 1 you would give an introduction to the project and a brief overview of all the sections you are going to talk about. In...
22 May 2013 by Maciej Los
Have a look here: http://www.mrexcel.com/forum/excel-questions/41788-visual-basic-applications-calendar-control-without-control.html[^] and here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=68682&lngWId=1[^].There you'll find examples how to create custom UserForm as...
7 Jun 2013 by anssary2010
i want to ask how can insert smart art in powerpoint by code using office dll
17 Jun 2013 by comred
Dear Expert, I was making some automation in PowerPoint 2010. Where I want to automate some charts using c# .net referring Microsoft powerpoint interop assemblies. I got success to some extent but as I moved to access chart's properties, its just becoming unreachable. ...
6 Jul 2013 by ankur789
dear sir/ma'ami am using msoffice 2003 powerpoint.i have a table which we want to move sliding automatically upword direction and in my table tere are 241 rows when i press f5 for slide show and click mouse button the table sliding correctly but only to 55 rows and then stops what can i do...
19 Sep 2013 by sammieyay
Hello, all!I'm building a WPF application using vb.net.Is there a way I can hide the tabs (Home, Insert, ect.) in PowerPoint from my code?My hope is to hide the tabs when I open a presentation from my app, and restore them on closing.Let me know if you need anymore...
29 Sep 2013 by Archit Patel
Hello,i am working on Office PowerPoint 2007 using c#. i want to open the power point document, so i have done some code for the same. but am facing one problem. i have attached code spinet as follow.And i also add the reference of...
29 Sep 2013 by Bernhard Hiller
In the folder where you found Microsoft.Office.Interop.PowerPoint.dll, there is also a office.dll. Add a reference to it.
7 Oct 2013 by YvesDaoust
Hi, I need to write a PowerPoint VB macro to paste the same image on all my slides (inserting it on the Master slide does not work as it remains in the background and gets overlaid with large pictures in the foreground).I have found (and adapted) the following snippet:Sub SuperDuper() ...
7 Oct 2013 by ZurdoDev
I have used this code:ActiveWindow.View.PasteActiveWindow.Selection.ShapeRange(1).Name = shapeNameWith NewPres.Slides(SlideNumber).Shapes(shapeName) .Height = gridHeight .Width = gridWidth .Left = gridLeft .Top = gridTop .ZOrder gridZOrderEnd WithAfter it...
7 Oct 2013 by YvesDaoust
Here is my final, cleaned-up script. Very simple once you know the recipe:Sub PasteToAll() For i = 1 To ActivePresentation.Slides.Count Set MyRange = ActivePresentation.Slides(i).Shapes.Paste MyRange(1).Left = 100 MyRange(1).Top = 100 NextEnd Sub
5 Nov 2013 by Ibrahim Oweidat
visual studio contains dll for powerpoint "Microsoft.Office.Interop.PowerPoint" i wanna use it in xcode c++ coding. does the dll work fine ? and is there any better way to use powerpoint in xcode?thx
6 Dec 2013 by navanathdivate
Hi,I Want to Play powerpoint slide show in My Windows form vb.net application. Powerpoint slide show must be embeded into my application.The system don't have MS office installation. Whether it is possible or not.plz give me suggestions.
12 Dec 2013 by Grant Weatherston
Hi Guys, I'm looking for a library / solution that will allow me to get the first Slide from a presentation, and then generate a image file (pref jpeg), which i can pass through my class to resize the image to Thumbnail size.i am looking for a solution which is Free, or has a cheap...
19 Dec 2013 by sud1608
In Office 2013 there is no "Save as HTML" feature neither the power point can be convert by using office.interop dll as it gives error.The interop was working fine till the time server had office 2010 but know same code is giving error, as Office 2013 has removed this feature.Please can...
6 Feb 2014 by Wentworth Miller
I want to add new slides to a presentation automatically using POI-XSLF library. XMLSlideShow ppt = new XMLSlideShow(); // add first slide XSLFSlide bSlide = ppt.createSlide(); // add scond slide XSLFSlide secondSlide = ppt.createSlide();Using above code, we...
11 Feb 2014 by PDTUM
Hello,I am a C# developer that has a basic knowledge of PowerPoint. I recently added PowerPoint 2010 to my software so I could create a movie from a PowerPoint presentation to post on the net. It has turned out to be a real issue. I don't seem to be able to get it done. The issue is the...
11 Feb 2014 by PBGuy
Hi,I need to create and later update charts in powerpoint slide, on clicking a button from task pane in powerpoint presentation. I was able to create custom ribbons and task panes and interact with slides in the presentation. I was unable to find the ways to populate a chart with data...
20 Feb 2014 by Bernhard Hiller
What do you expect with the presentation to happen? There is no screen attached to the session of IIS on the server, it won't be opened on the client computer, and the user won't see it!In your case, IIS might not have access rights to the file on the level of the file system.Microsoft...
20 Feb 2014 by Haroun Ben Hmida
Hi,I'am searching for an API that can read old Office documents PowerPoint (.ppt) and Word (.doc) in order to count respectively the slides number and the pages number.The most known solution is to use DSOFile Assembly but it works only on 32 bits environment while I'am working on a 64...
27 Feb 2014 by Wentworth Miller
I used POI library to create a Presentation. I want to put a bold Italic text. I used following code to set font style. But the presentation is generated without any font style. Is there any issue with the code? XMLSlideShow ppt = new XMLSlideShow(); XSLFSlideMaster defaultMaster =...
6 Mar 2014 by Member 10648000
hi everyone !i am trying to implement something like follows:.Maxlength = "16"so that i can restrict the length of the string that the user will put inside the control named oTextSA below.Here's my code Dim oTextSA As CommandBarControlSet oTextSA =...
6 Mar 2014 by Member 10648000
Hi everyone !I want to display messagebox while moving from one slide to another.SlideSelectionChnaged is working fine on windows but giving error on MAC:"Object does not source automation event". I came to know that event handling is not supported in PP 2011 for MAC.So how can...
6 Mar 2014 by Maciej Los
CommandbarControl[^] does not have this kind of functionality. Please, follow the link to see the list of available properties.
23 Mar 2014 by BCN-163
what I want to do is very similar with this friend.I have a command line application that makes use of VBA API's of PowerPoint to automate it. There is a use case in which we allow multiple instances of the command line application to run in parallel. Since POWERPNT.exe is a single instance...
29 May 2014 by Shilpa Palkar
Hi All,I am developing a Powerpoint addin. I need to hide a slide before the user sends his presentation to the printer, as the specific slide should not be printed, as per business requirements.But I am unable to find any such property for the Slide interface.Could you guide me as...
2 Jun 2014 by Phil J Pearson
You need to create one or more PrintRanges that include only the slides you want to print (i.e. exclude the slide[s] you want to hide) and then call PrintOut.See http://msdn.microsoft.com/en-us/library/office/ff744973(v=office.15).aspx[^]
11 Jun 2014 by rpragu
How should I convert ppt slideshow to pptx programatically using c#.I don't want to install office on server side for this action , I want to find a way without using Microsoft.Office.Interop.PowerPoint.Any suggestions ?
1 Jul 2014 by Heba Kamel
i want to extract image from pptx document and save it in my desktopImports Microsoft.Office.Interop.PowerPointPublic Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ppt As New Presentation() ...
31 Jul 2014 by nits23
Here are the sample codes which is working on *.ppt file but not working on *.pptx file. OpenFileDialog opObject = new OpenFileDialog(); opObject.Filter = "Office Documents(*.doc,*.xls,*.pptx)|*.doc;*.xls;*.pptx"; if (opObject.ShowDialog() == DialogResult.OK)...
20 May 2015 by nits23
I am splitting the powerpoint presentation into multiple slides at that time this rpc error is coming , i already googled but not able to understand the cause of the problem. please help...!! private void splitpptintomultipleslide(string path) { string...
7 Oct 2014 by daghune
helloI Have A Database That Stored Office Files In Binary Format There ..Now I Want To Open Files For Users And Let Users Modify Them And Save as Binary and Update Database ...Which Way Or Components Can Help Me To Open Binary Stored Office Files In Windows Form Application...
10 Nov 2014 by Bob Sidie
How is the image height defined for an embedded object? In this case, referencing an Excel workbook embedded in a PowerPoint slide.Steps to reproduce:1. Create a new Excel workbook with one column and 38 rows. Fill the cells with the row number from 1 to 38 just to have data.2. Set the...
12 Nov 2014 by GeorgeGkas
I recently false disabled the Team Foundation plug in in Power Point 2010. My problem is that now i can't use storyboarding. Any time I start a Storyboarding Project or just a simple one I can't get the tab of it.Here is an image with the disabled plug...
22 Nov 2014 by ZurdoDev
As mentioned in comments, I'm sorry to hear that you've lost your developers. This is not the appropriate site to try and hire someone. If you google it, there are plenty of sites where you can hire developers.
30 Nov 2014 by Member 11258725
HiI created an VSTO add-in project and in that project I created an user control with button. In the Add-in start event I am creating an custom task pane and to that task pane a button was added.In the button click event, I want to handle code to insert the user control ( created by...
28 Nov 2014 by Maciej Los
Here is a set of PowerPoint (PP) events: Application Events[^]You can use one of that:Public event SlideShowBegin 'Occurs when you start a slide show. (Inherited from EApplication_Event.)Public event SlideShowEnd 'Occurs after a slide show ends, immediately after the last...
18 Mar 2015 by sai sruthi
Hi, I am using VS2013 C#.net for creating my PowerPoint Add-in. In which I am in a situation to create a textbox(only one textbox) that contains titles of each slide and slide number.Note: I am looping over slides and storing the results in a same string variable. For example, ...
6 Apr 2015 by sai sruthi
Hi,I am using Visual studio 2013 Powerpoint to create Index slide which contains all the slide titles and subtitles as a shape group (i.e) Instead of table i am using textbox to store each of the slide titles, slide number and subtitles separately and then I am grouping the text box so that a...
10 Apr 2015 by Sergey Alexandrovich Kryukov
First of all, please see my comment to the question.The direct answer is: if you want to parse HTML, the best way to do it would be applied if you have HTML well-formed as XHTML, that is, XML. Then you can use one of the many available parsers. This is my short overview of what you could use...
1 Jun 2015 by Member 11733744
How do I automate text in Powerpoint? I.e. if I want to source a date from excel lets day todays date and have it in a Title in powerpoint.
2 Jun 2015 by nits23
I want to Take out those theme from the Slide want to put that theme in another slide .
3 Jun 2015 by nits23
I used powerpoint interop :- By using Themecolorscheme.Save() method i am saving the theme file of ppt and by using ThemeColorscheme.Load() method i am loading that particular theme to another ppt file.
28 Oct 2015 by AjithJoseph
Hi,I am creating an automation for creating power point presentation using VSTO and C#. I have create a slide show (with background music). Now I have to export this slide show to a video file. I have successfully create video, but it doesn't have the sound effect. I write code like...
30 Oct 2015 by Patrice T
I see your concern about copy protection, it is almost hopeless as stated in solution 1. A motivated skilled hacker will break your protecttion soon or late.There is one thing that can improve the value of your PPT file, it is to add the possibility of practicing for the students.Add a...
3 Apr 2016 by ThaZar
Hi allI was wondering if I could access the Presenter View window of Powerpoint from within my .NET application. F.i.: can I access the timer textbox, in order to update it to count down instead of up.What I have tried:I already tried googling it, and browsing through the PIA (the...
22 Sep 2016 by TatsuSheva
Hello, I am doing an application in which I launch Office App like Word, PowerPoint etcSo, I did for the Word App but now I am doing for the Powerpoint App but I don't know how to put an event on the exit of an instance of Powerpoint and also create an instance of Powerpoint.Here is what I...
22 Sep 2016 by Maciej Los
A list of avaliable event for MS PowerPoint application is here: Application Events (Microsoft.Office.Interop.PowerPoint)[^]As per description of events, you may use: EApplication_Event.PresentationClose Event (Microsoft.Office.Interop.PowerPoint)[^]
18 Jun 2017 by Maciej Los
Start here: Changing Color Formatting in Shapes in Office 2010[^] and change the code to your needs.
20 Jun 2017 by Pat O'Brien
Solution #2: Google "How to color all arrows in a powerpoint presentation red" Then figure it out yourself. Solution #3: Try something like the following: Sub ColorArrowsRed() Dim sl As Slide Dim sh As Shape For Each sl In ActivePresentation.Slides For Each sh In sl.Shapes ...