Ask a Question related to ASP.NET General, Design and Development.
-
Marc Eggenberger #1
Problem with using PowerPoint 2003 ins ASP.NET
Hi there.
I have an webapp (asp.net) 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 asp.net
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?
code:
try
{
//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 =
Microsoft.Office.Core.MsoTriState.msoTrue;
objPresSet = objApp.Presentations;
objPres = objPresSet.Open(".\\Vorlagen
\\pp1.ppt", Microsoft.Office.Core.MsoTriState.msoFalse,
Microsoft.Office.Core.MsoTriState.msoTrue,
Microsoft.Office.Core.MsoTriState.msoTrue);
objSlides = objPres.Slides;
}
catch(Exception fehler)
{
System.Diagnostics.Debug.WriteLine("Fehler:
" + fehler.Message);
}
--
mfg
Marc Eggenberger
Marc Eggenberger Guest
-
PowerPoint to Flash Problem
I have converted a PowerPoint presentation to flash, but when I add the flash to my home page, the warning "Internet Explorer is trying to close... -
Cannot get Flashpaper to print in Powerpoint 2003
I cannot get Flashpaper printouts from any of the MS Office applications in Office 2003. This worked until about five days ago. Now, a box comes up,... -
frontpage 2003 server extension problem with server 2003
I have frontpage 2003 on a server 2003 . I get the following message when I use sharepoint admin and I try to recalculate the web The server... -
Powerpoint to PDF page layout problem when using the Convert to Adobe PDF macro
Whenever I convert a PPT to PDF using the Convert to Adobe PDF macro, the page layout does not come out correctly. The page size is correct, but the... -
Acrobat 5 Default page problem (PowerPoint 2000)
I have been used to readily producing Acrobat v4 versions of PowerPoint 2000 handouts (3 slides/A4 page), showing the page number as a RH footer, on...



Reply With Quote

