Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem with using PowerPoint 2003 ins ASP.NET

Thread Tools

Problem with using PowerPoint 2003 ins ASP.NET

Marc Eggenberger
Posts: n/a
Hi there.

I have an webapp ( which should use powerpoint to create a
presentation and then send that presentation to the user.

I'm using VS2003 and Office2003 (project req.).

The webapp runs find but when I try to open powerpoint in my
code I get an error

COM object with CLSID {91493441-5A91-11CF-8700-00AA0060263B} is either
not valid or not registered.

The Code is at end.
The code runs fine with an Windowsapp.
I have set the Copy Local in the References of the dll's to true so the
Interop dll's are there.

What am I doing wrong here?


//Oeffne PowerPoint
PowerPoint.Application objApp;
PowerPoint.Presentations objPresSet;
PowerPoint._Presentation objPres;
PowerPoint.Slides objSlides;
PowerPoint._Slide objSlide;
PowerPoint.TextRange objTextRng;
Graph.Chart objChartPP;

//Wegen Bug Q320369

System.Threading.Thread.CurrentThread.CurrentCultu re =
System.Globalization.CultureInfo.CreateSpecificCul ture("en-US");

objApp = new PowerPoint.Application();
objApp.Visible =
objPresSet = objApp.Presentations;
objPres = objPresSet.Open(".\\Vorlagen
\\pp1.ppt", Microsoft.Office.Core.MsoTriState.msoFalse,
objSlides = objPres.Slides;

catch(Exception fehler)
" + fehler.Message);
Marc Eggenberger
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: MS powerpoint viewer 2003 moi Computer Support 0 11-02-2005 03:32 PM
Re: MS powerpoint viewer 2003 Dave Lear Computer Support 0 11-02-2005 02:19 AM
PowerPoint 2003 Computer Support 3 06-17-2005 09:53 AM
Using <ins> with a future datetime Kris HTML 0 04-09-2004 10:23 AM
Plug ins problem Pasquini Davide Firefox 0 08-22-2003 06:29 PM