473,378 Members | 1,037 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Is it possible to create Powerpoint files?

1) Is it possible to create a powerpoint file with asp.net? I've
Googled it and can't seem to find a definitive guide.

2) If it is possible to create a powerpoint file with asp.net, is it
possible to pull exisiting slides together in a certain order rather
than creating the slides from scratch?

Thanks,
-Sean

Feb 8 '07 #1
11 11727
"ssims" <se*******@gmail.comwrote in message
news:11*********************@v45g2000cwv.googlegro ups.com...
1) Is it possible to create a powerpoint file with asp.net? I've
Googled it and can't seem to find a definitive guide.

2) If it is possible to create a powerpoint file with asp.net, is it
possible to pull exisiting slides together in a certain order rather
than creating the slides from scratch?
It certainly is. There are two ways you could do it:

1) Use the Office XML file format:
http://www.microsoft.com/downloads/d...displaylang=en
or
http://www.microsoft.com/downloads/d...displaylang=en

depending on your version of Office. This will allow you to create
PowerPoint files of any complexity of content. It is completely free but,
depending on your level of expertise with XML, you might find it a little
challenging... :-)

2) Use Aspose:
http://www.aspose.com/Products/Aspos...s/Default.aspx

It's not free, but is incredibly easy to use, and will allow you to do
everything that you require.

Under no circumstances consider using Office Automation, as it is not
designed to operate server-side:
http://support.microsoft.com/default...US;q257757#kb2
Feb 8 '07 #2
It doesn't appear that Powerpoint supports the Office XML format...
from the 2003 link, "This download contains documentation on a number
of XML schemas for Microsoft® Office 2003 Editions including Microsoft
Office Word 2003, Microsoft Office Excel 2003, Microsoft Office
InfoPath® 2003, and Microsoft Office Visio® 2003 schemas. It also
includes schema information for Microsoft Office OneNote® 2003,
Microsoft Office Project 2003, and Microsoft Office Research
Services." I also don't see an option to save as XML from
Powerpoint. I guess I'll have to check out the commercial
option...though I really wish I could find a free option.

On Feb 8, 7:45 am, "Mark Rae" <m...@markNOSPAMrae.comwrote:
It certainly is. There are two ways you could do it:

1) Use the Office XML file format:http://www.microsoft.com/downloads/d...d=fe118952-354...
orhttp://www.microsoft.com/downloads/details.aspx?familyid=15805380-f2c....

depending on your version of Office. This will allow you to create
PowerPoint files of any complexity of content. It is completely free but,
depending on your level of expertise with XML, you might find it a little
challenging... :-)
Feb 8 '07 #3
"ssims" <se*******@gmail.comwrote in message
news:11**********************@h3g2000cwc.googlegro ups.com...
It doesn't appear that Powerpoint supports the Office XML format...
from the 2003 link
Apologies - my mistake...
I guess I'll have to check out the commercial option...though I really
wish I could find a free option.
Well, there may be other options depending on what you're actually trying to
do...

Is it absolutely 100% imperative that ASP.NET creates the PowerPoint
files...?
Feb 8 '07 #4
The general idea is, upload a variety of slides (200ish)...

Person logs in via the web, selects slides 1-5, 25, 37, 42 and clicks
Generate and a PPT file is generated for them.

I've been looking for any way to do this for almost 2 days, and it
seems that the only way anyone has found to do it is through
Automation.

-Sean

On Feb 8, 8:35 am, "Mark Rae" <m...@markNOSPAMrae.comwrote:
"ssims" <sean.s...@gmail.comwrote in message

news:11**********************@h3g2000cwc.googlegro ups.com...
It doesn't appear that Powerpoint supports the Office XML format...
from the 2003 link

Apologies - my mistake...
I guess I'll have to check out the commercial option...though I really
wish I could find a free option.

Well, there may be other options depending on what you're actually trying to
do...

Is it absolutely 100% imperative that ASP.NET creates the PowerPoint
files...?

Feb 8 '07 #5
Ily
Hi

This is exactly the app that we have done

We used Aspose.Slides..

A user would upload a file and an image would be created for each
slide (aspose.slides can do this also)

If a new presentation was needed, you could simply say I want slides
1, 2, 10 and 11 in either pdf or powerpoint format and it worked.

The kind of issues we had, was that to generate a pdf or a ppt, takes
a lot of memory if the ppts are large and contain a lot of images.
Generating a pdf can also be quite slow.

Under any circumstances do not consider using office to do this. It
doesnt scale well, you end up with powerpoint .exes remaining in
memory and eventually the whole thing crashes on top of you. Not what
you want for a application!

ssims wrote:
The general idea is, upload a variety of slides (200ish)...

Person logs in via the web, selects slides 1-5, 25, 37, 42 and clicks
Generate and a PPT file is generated for them.

I've been looking for any way to do this for almost 2 days, and it
seems that the only way anyone has found to do it is through
Automation.

-Sean

On Feb 8, 8:35 am, "Mark Rae" <m...@markNOSPAMrae.comwrote:
"ssims" <sean.s...@gmail.comwrote in message

news:11**********************@h3g2000cwc.googlegro ups.com...
It doesn't appear that Powerpoint supports the Office XML format...
from the 2003 link
Apologies - my mistake...
I guess I'll have to check out the commercial option...though I really
wish I could find a free option.
Well, there may be other options depending on what you're actually trying to
do...

Is it absolutely 100% imperative that ASP.NET creates the PowerPoint
files...?
Feb 8 '07 #6
"ssims" <se*******@gmail.comwrote in message
news:11*********************@j27g2000cwj.googlegro ups.com...
I've been looking for any way to do this for almost 2 days, and it
seems that the only way anyone has found to do it is through
Automation.
Please re-read (or even read for the first time) the link to the Microsoft
page which advises you strongly not to do this - that page wasn't written
for a joke, or to make your life difficult...

If you go down the Automation route, there is a very high probability that
it won't work at all in a production environment...
Feb 8 '07 #7
"Ily" <il***@igsoftwaresolutions.co.ukwrote in message
news:11**********************@k78g2000cwa.googlegr oups.com...
We used Aspose.Slides..
Of course.
Under any circumstances do not consider using office to do this. It
doesnt scale well, you end up with powerpoint .exes remaining in
memory and eventually the whole thing crashes on top of you. Not what
you want for a application!
It seems that, no matter how many times people are told this, they really
won't believe it until their app crashes... :-)
Feb 8 '07 #8
re:
It seems that, no matter how many times people are told this
You should have a template or snippet to send in your warnings about that regularly.
Save some time that way...

<vbg>

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message news:%2***************@TK2MSFTNGP02.phx.gbl...
"Ily" <il***@igsoftwaresolutions.co.ukwrote in message
news:11**********************@k78g2000cwa.googlegr oups.com...
>We used Aspose.Slides..

Of course.
>Under any circumstances do not consider using office to do this. It
doesnt scale well, you end up with powerpoint .exes remaining in
memory and eventually the whole thing crashes on top of you. Not what
you want for a application!

It seems that, no matter how many times people are told this, they really won't believe it until
their app crashes... :-)

Feb 8 '07 #9
I wasn't planning on using Automation...just stating that that seems
to be the only way to do it documented on the web. If Aspose can do
it for profit, why can't we do it using .Net or some other programming
language?

-Sean

On Feb 8, 10:04 am, "Mark Rae" <m...@markNOSPAMrae.comwrote:
"ssims" <sean.s...@gmail.comwrote in message

news:11*********************@j27g2000cwj.googlegro ups.com...
I've been looking for any way to do this for almost 2 days, and it
seems that the only way anyone has found to do it is through
Automation.

Please re-read (or even read for the first time) the link to the Microsoft
page which advises you strongly not to do this - that page wasn't written
for a joke, or to make your life difficult...

If you go down the Automation route, there is a very high probability that
it won't work at all in a production environment...

Feb 8 '07 #10
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
re:
>It seems that, no matter how many times people are told this

You should have a template or snippet to send in your warnings about that
regularly.
Save some time that way...

<vbg>
LOL! I usually just copy and paste from the previous one... ;-)
Feb 8 '07 #11
"ssims" <se*******@gmail.comwrote in message
news:11**********************@p10g2000cwp.googlegr oups.com...
If Aspose can do it for profit, why can't we do it using .Net or some
other programming
language?
You absolutely can do it yourself if you really want to, exactly the same
way Aspose does it... I.e. open up a PowerPoint file in a hex editor and
work out the file format... That's what Aspose did. Of course, it took them
years and years of cumulative developer time - that's what you're paying for
when you buy an Aspose licence...

The same argument applies to all .NET assemblies... E.g. you don't have to
use ADO.NET for your database work if you don't want to - nobody's stopping
you writing your own library for this... It just so happens that Microsoft
include ADO.NET in the Framework, but don't include a native .NET assembly
for manipulating Office files. Why they don't do this is, of course, a
totally different argument - the simple fact is, they don't...

Big though the .NET Framework is, there are thousands and thousands of
pieces of functionality which aren't included - that's where bespoke
development comes in. You can either write it yourself or use a 3rd-party
solution. Some of these are free and/or open source - others aren't...
Aspose have spotted this gap in the market, and have filled it - you don't
have to use their solution if you don't want to...
Feb 8 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bret | last post by:
To provide a small team assistance in a rather massive data conversion effort, I've built an ASP script that scans/scrapes a pile of PowerPoint presentations that are in an agreed-upon format and...
0
by: asadhussain | last post by:
I am trying to automate conversion of powerpoint files to html. I have developed this as a windows service and here is the conversion code: .... PowerPoint.Application ppApp = new...
2
by: Jonathan Trevor | last post by:
Hi, For the last couple of releases of a product we're developing we've been running to very wierd behavior from IE and our ASP.NET web application which serves up various types of files and I'm...
1
by: Stefan Weisenbach | last post by:
Hi there, I am currently working on a project to display powerpoint presentations inside a .NET application. As I understand there is no such thing as a ole control which can embed powerpoint...
0
by: bosky101 | last post by:
hi, im using VS 2005 ,and working on a windows applicaiton that opens powerpoint files. I ahve stumbled upon the folowing problems : 1. no pIA 's for office 2000 . what do i do ? 2. i managed...
1
by: marcelcaraciolo | last post by:
Hi, I'm developing a software in Python that communicates with Powerpoint files. My application has to open the Microsoft Powerpoint 2003 and a file .ppt format and show the presentation. The...
35
by: gill1978 | last post by:
Hi, What I'm trying to do is, once the users select the files they want to merge, they select a button which will: 1. Open an instance of powerpoint 2. Open the first of the files selected...
8
by: =?Utf-8?B?R2VvcmdlQXRraW5z?= | last post by:
Greetings! I wrote a small Exe that simply runs Shell to load PowerPoint and launch a particular file, depending on the day of the week. However, it was set up for office 2003 (I naively hardcoded...
1
by: =?Utf-8?B?d2lsbG5wb2s=?= | last post by:
Hello everyone. I have a PowerPoint Presentation that is 218 slides that includes animated gifs and sounds and everything. Currently they are online where the user will have to download the files...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.