Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 22nd, 2004, 07:37 AM
Registered User
 
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to Export .aspx pages to .ppt slides

hi friends

I have created a web application using asp.net. I would like to export some of my webpages (.aspx page) to Power Point slides and view it as power point presentation.
will it be possible ?
can anyone help me to solve this.

thanks in advance

regards

sriram

:)

 
Old April 22nd, 2004, 04:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Ctrl + PrintScreen combo, or Alt+PrintScreen combo. Takes a snapshot of the browser.
 
Old April 22nd, 2004, 11:28 PM
Registered User
 
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by bmains
 Ctrl + PrintScreen combo, or Alt+PrintScreen combo. Takes a snapshot of the browser.


hi
thanks for u'r reply.
But what i need is i have a button in my aspx page on click of that all the contents of that page should be dynamically exported to ppt and then i save it and view it as a presentation.


 
Old April 23rd, 2004, 10:50 AM
Authorized User
 
Join Date: Sep 2003
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to flyin
Default

Hello sriram,

You might want to try creating a Custom Server control to actually create the HTML then you can save that HTML "text" output as an HTML file possibly. In this case, you can make good use of the Virtual Render(HtmlTextWriter) method of a Custom Server Control and so basicall you build your page programmatically and save the HTMLTextWriter Text in a ppt file. Or as an alternative, which would probably work is to create a new Utility-like webform, and have a function within the webform take advantage of the WebClient Class and use the GetData(URL) and this basically returns you back a string representation of the the Requested Page and you can then save this page as an HTML page, and then have your PPT Presentation call the created HTML page. The Syntax might not be fully correct as far as method names, but i know something like that does exist!

Hopefully this sheds some light!
 
Old April 23rd, 2004, 03:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

You may want to check out if there are any API's for the PowerPoint product; I cannot recall if there are or not. I figure there are because Word, Excel, and Acess have API's. Then you could use the API to create a slide with your data.

Brian
 
Old April 29th, 2004, 10:06 AM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sriram,

I have done something similar to this couple of years ago. I just wrote a different component that connects to a ppt object and create the power point slides. When the user clicks on the export button, it will look like exporting the data to ppt.
You could also try setting the Response.ContentType to ppt. It didn't work out for me as I had to include lots of graphs.

I hope this will help you.

 
Old September 1st, 2004, 05:23 PM
Registered User
 
Join Date: Oct 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I know this post is old, but I had a question concerning this thread. I need be able to upload a .ppt file, read the contents, and store each slide as an image on my web server using ASP. I know there is a third-party tool from aspose, but don't know if it would help my requirement. Any help will be greatly appreciated.

Thanks!

 
Old September 20th, 2004, 03:31 PM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've been trying to do the same thing as sriram for a while, and have deemed it impossible several times now. While the ideas posted sound like they could work, I would need more details to actually implement them. Thanks,

tscott

 
Old August 14th, 2007, 08:18 AM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

PPT uses XML files (from and after Office 2003) so make use of it.
I did it in a project.

 
Old August 30th, 2007, 07:22 AM
Registered User
 
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Sriram,Shashank,

Will you please explain in detail, how to export pages to ppt in detail.

Thanks in advance









Similar Threads
Thread Thread Starter Forum Replies Last Post
Export web page to PPT agarwalvidhu C# 4 December 2nd, 2006 03:52 AM
can I ovveride aspx pages? shenku ASP.NET 1.x and 2.0 Application Design 1 June 6th, 2005 07:04 AM
SCREEN SHOTS TO PPT-SLIDES amjad_mahmood Excel VBA 0 January 11th, 2005 06:32 AM
Export ASP charts into excel or .ppt slides usa_vn75 Classic ASP Databases 2 January 6th, 2005 05:31 PM
how to get into the Events of aspx pages kashif ASP.NET 1.0 and 1.1 Basics 1 July 29th, 2003 03:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.