DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   ASP.NET to Power Point (http://www.daniweb.com/forums/thread7016.html)

Randy Kemp Jun 14th, 2004 4:03 pm
ASP.NET to Power Point
 
I have an ASP.NET web application, written in C# and VB, where the user wants to generate the contents of a web page to Power Point. I can find examples for things like Excel and PDF. I can also find an example for a Windows application with Power Point at http://support.microsoft.com/?kbid=303717. But I can't find any examples - either Microsoft or non-Microsoft, in how to generate dynamic content in ASP.NET web applications to Power Point. Microsoft warns against any server side solution with office automation in http://support.microsoft.com/?id=257757. Can anyone help me out?

Tekmaven Jun 24th, 2004 9:26 am
Re: ASP.NET to Power Point
 
First of all, since ASP.NET is on the .NET Framework, most of that code will work exactly how you want it for your ASP.NET web application. Simply save the powerpoint file in a temporary location, call Response.Flush(), and Response.Write you're temped powerpoint file. Remember to set the content type, and remember to delete the temp file ;-).

If you have a few users using this feature, it will be fine. However, if you have 100s or 1000s or more, this will kill your performace ;-).


All times are GMT -4. The time now is 10:20 am.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC