473,765 Members | 1,955 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 11765
"ssims" <se*******@gmai l.comwrote in message
news:11******** *************@v 45g2000cwv.goog legroups.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...@markNOSPA Mrae.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.c om/downloads/details.aspx?fa milyid=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*******@gmai l.comwrote in message
news:11******** **************@ h3g2000cwc.goog legroups.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...@markNOSPA Mrae.comwrote:
"ssims" <sean.s...@gmai l.comwrote in message

news:11******** **************@ h3g2000cwc.goog legroups.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...@markNOSPA Mrae.comwrote:
"ssims" <sean.s...@gmai l.comwrote in message

news:11******** **************@ h3g2000cwc.goog legroups.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*******@gmai l.comwrote in message
news:11******** *************@j 27g2000cwj.goog legroups.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***@igsoftwa resolutions.co. ukwrote in message
news:11******** **************@ k78g2000cwa.goo glegroups.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**@markNOSPA Mrae.comwrote in message news:%2******** *******@TK2MSFT NGP02.phx.gbl.. .
"Ily" <il***@igsoftwa resolutions.co. ukwrote in message
news:11******** **************@ k78g2000cwa.goo glegroups.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...ju st 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...@markNOSPA Mrae.comwrote:
"ssims" <sean.s...@gmai l.comwrote in message

news:11******** *************@j 27g2000cwj.goog legroups.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

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

Similar topics

1
2240
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 pulls in textual data from these files to be uploaded into a database Believe it or not, the thing is (a) working, and (b) not too strange However, it only works for me (a member of the web server's administrators group). When one of the "normal"...
0
1029
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 PowerPoint.Application(); PowerPoint.Presentation prsPres = ppApp.Presentations.Open(targetFile, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoTriState.msoFalse,
2
3197
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 getting very frustrated in trying to solve it! We content we are serving up is potentially sensitive and therefore we DO NOT want it cached on the remote client (IE) beyond the lifetime of the application rendering it (IE, Powerpoint, Word...
1
3958
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 files. After searching the web I found a usable way by using a web browser control to display powerpoint documents. However, this only works if powerpoint is also installed. I tried it with the freely available powerpoint viewer, but with this...
0
1358
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 to use ildasm to try to generate my new powerpoint dll's . as follows in VS command prompt of the projects bin/debug folder :
1
8986
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 problem is that i started to code the pyhton script, but when i execute it, it only opens the powerpoint 2003 (Microsoft) without open the presentation file (.ppt). ANybody knows if it has a bug at pywin ? this is the code: import...
35
13704
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 by the user 3. Copy/ export that slides from that presentation 4. Paste into the instance of powerpoint (in point 1 above)
8
2159
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 the path) and I also used Shell. Does anybody have a snipped showing a more efficient method for launching a Powerpoint file, regardless of which version of Office is running? My current, ineffecient code: Sub main() Try
1
1741
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 to thier computer to view the presentation. I need a way to maybe embed the presentation into a webpage so that it can just be viewed online without having to download all the files to the local PC. I have already tried countless conversion...
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9951
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5421
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.