 |
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
|
|
|

April 22nd, 2004, 07:37 AM
|
Registered User
|
|
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
:)
|

April 22nd, 2004, 04:10 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Ctrl + PrintScreen combo, or Alt+PrintScreen combo. Takes a snapshot of the browser.
|

April 22nd, 2004, 11:28 PM
|
Registered User
|
|
Join Date: Apr 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

April 23rd, 2004, 10:50 AM
|
Authorized User
|
|
Join Date: Sep 2003
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

April 23rd, 2004, 03:15 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
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
|

April 29th, 2004, 10:06 AM
|
Registered User
|
|
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

September 1st, 2004, 05:23 PM
|
Registered User
|
|
Join Date: Oct 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|

September 20th, 2004, 03:31 PM
|
Registered User
|
|
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

August 14th, 2007, 08:18 AM
|
Registered User
|
|
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
PPT uses XML files (from and after Office 2003) so make use of it.
I did it in a project.
|

August 30th, 2007, 07:22 AM
|
Registered User
|
|
Join Date: Aug 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Sriram,Shashank,
Will you please explain in detail, how to export pages to ppt in detail.
Thanks in advance
|
|
 |