powerpoint

Powerpoint displays a "can't start the application" error when an Excel Chart object is embedded in it

This is a very common problem when Excel Worksheet or Chart is embedded into Word or Powerpoint. I am seeing this problem in both Word and Powerpoint and the reason it seems is the COM addin attached to Excel. The COM addin is written in C# (.NET). See the attached images for error dialogs. I debugged the addin and found a very strange ...

access PowerPoint chart c#

Hi, I have a problem in a c# projet. In fact, i did a PowerPoint-add-in and i want to generate Charts on Slides. I create a slide with : using PowerPoint = Microsoft.Office.Interop.PowerPoint; using Microsoft.Office.Interop.Graph; Microsoft.Office.Interop.Graph.Chart objChart; objChart = (Microsoft.Office.Interop.Graph.Chart)objShap...

Power Point 2010 youtube embeding problem

I know this is more programming related site but I couldnt think of a better place to ask this... anyways, Im trying to use the new Embed from video site feature but it seems to be disabled. Please help? ...

Use OpenOffice to do server-side ppt(x) to swf conversion

I'd like to turn Powerpoint presentations to SWF files the same way that OpenOffice does it, except automatically through a command line call. I came across http://stackoverflow.com/questions/886144, which led me to explore PyUNO bridge, which comes with OpenOffice as well as the OpenOffice command line API, but I wasn't able to make any...

How can I read data from powerpoint

I have to work with data in MS powerpoint file,but I don't know how to open and process data in powerpoint file.please help me! My programming language is C# and use visual studio 2010. ...

PowerPoint SlideShowSettings.Run() does not run embedded video

I have a C# application that runs on a computer connected to a large display in our cafeteria. The application pulls all the PowerPoint files out of a folder and runs each one as a slide show continuously. Everything was working fine until someone decided to insert a movie clip onto a slide. The problem is that the movie never starts....

How to name an object within a PowerPoint slide?

So I know how to name a textbox, or a like object in PowerPoint with VB, but I was wondering if there was a way to name objects through the Ribbon (PowerPoint 2007). For instance, if I add a text box onto a slide, is there a way to assign it a name (sort of like the properties window in access, or the textbox in Excel 2003 at the top lef...

Cannot trigger macro when clicking on a shape any more (powerpoint)

I have attached a macro to a shape with a simple hello world message. It did work a few days ago then now it doesn't work any more in the same ppt file. Any reason and how to restore normal behavior ? ...

Change default text direction in a powerpoint presentation using VBA

I use the Powerpoint Object-Model to programmatically create a presentation in PowerPoint 2007. Some of the computers on which I run my program have PowerPoint set with Hebrew as the Primary Editing Language. (to change the primary language, push the "Office" button, then "Powerpoint options", and go to Popular->Language Settings->Prima...

Is it possible to generate a PowerPoint roadmap timeline from C#?

I know PowerPoint has an API like Excel and word. Is there anyway to generate a timeline roadmap programatically (I have a list of milestones and dates from a database)? Does anyone have any links or example code on how to get started on trying to programatically fill out a timeline roadmap template in powerpoint Here's a (not great) ...

Create a RibbonControl in code-behind

I'm working on a PowerPoint Add-In project. I'm trying to create a RibbonToggleButton in code-behind but I can't do it the way I thought, RibbonToggleButton toggleButton = new RibbonToggleButton(); Is it possible to create RibbonControls in code-behind and not the RibbonDesigner or RibbonXML? ...

PPTX 2007 - VBA: If I create a powerpoint pres from access code behind form, then how do i prompt to save ppt file at end

I have an access form that creates a ppt file (set of slides) from the information in the access form/tables. I use a template file in a utility folder that is in the same folder as the access file itself. everything works fine, except one little piece. I would like to know how after I have ran through everything else in the sub routin...

MS Access 2003/2007 VBA - How can I take a date field from a recordset and string the dd-MMM-yyyy format?

i have some VB that uses DAO to grab some data, one field being a date field (as in date of a transaction). its not date/time, just simply date like dd/mm/yyyy. so on an access form i know how to do this, but right now i am working on some excel/ppt automation. i use something like this simple example DAO sql string, openrecordset to ge...

How to export from ASP.NET to Powerpoint 2007 ?

Hello, I'm working on a project that I'm trying to export data from textboxes in asp.net website project to a powerpoint file. I writing ofcourse in C#. The whole concept is to use the data the a user inserts to the text boxes and they are sent after clicking a OK button directly to a powerpoint file. I'm using OFFICE 2007 so I'm using ...

How to retrieve links between PowerPoint slides within a presentation

I`m looking for a way to read a links between slides in single PowerPoint presentation. I need to open a PowerPoint file and retrieve all links slides have to each other. Right now I`m using Aspose but it appears they do not have anything to read links between slides. I've read some more about the PowerPoint 2007/2010 file format and ...

Where is Actionsettings in TextRange2 ?

I need to extract Hyperlinks from text Runs in PowerPoint 2007. I know I could do so using: TextFrame.TextRange.ActionSettings[PpMouseActivation.ppMouseClick].Hyperlink However, my code, which is quite a large one, uses TextFrame2 and its corresponding TextRange2, and I could not find ActionSettings in TextRange2. Anyone knows where i...

Embed Powerpoint viewer on a web page (PHP)

I am building a PHP application where the user upload Powerpoint files. I want the other users to view it online instead of downloading. (Using a third party apps like google docs might be a little cumbersome for the users) Is it possible to write a powerpoint viewer code in PHP? ...

Programmatically save as PowerPoint 2007 (pptx), from PowerPoint 2003

I need to be able to save Presentations (programatically) in PowerPoint 2003 as OpenXML (".pptx"). I installed the Microsoft Office Compatibility Pack. This indeed allows me to perform "Save as PowerPoint 2007 Presentation" from PowerPoint 2003. How can I do this programmatically? (e.g. VBA) I tried Presentation.SaveAs: While there i...

Set textbox text to Today/Tomorrow/Next Day/etc. automatically?

I'm new to programming in VBA, but what I'm trying to do right now is have a PowerPoint slide that updates every day. It's a weather forecast slide that is displayed in our lobby, and currently I manually update the seven day forecast each day I come in. This means that until I come in, it shows the current day as yesterday's date, and t...

Is there a direct way to get the index of a slide in a PowerPoint presentation?

I am trying to programmatically copy a slide in a PowerPoint presentation, and paste it right after the original. My first thought was to get the index of the old slide, and add the copy at the desired new index, but I can't seem to find a straightforward way to retrieve that index. I expected to have something like Slides.IndexOf(Slide...