How do i use CODE to " Save As Web Page" by html or Script?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to use html or some kind of programming language or script to Save a
ppt as web page, i want to do this when some one choose to open a ppt stored
in my Database server online, so that I don't need to install Powerpoint in
each computer.
 
By the way, I want to achieve the same function of "Save As Web Page" in the
menu of File, i don't wan to use the 3rd-part add in, like ppt2html, I juse
want to use code. and the result should be like the effect I view in IE after
i choose " Save as web page" in File.

Thanks.
 
When you save your presentation save it as a web page. Then create a link to
your presentation. You might want to look here to make your presentations
open full screen. Because you neglected to tell us which version of
PowerPoint your using here are a couple of references.
Make PowerPoint 2000 HTML open full screen
http://www.pptfaq.com/FAQ00148.htm

Making PowerPoint 2002, PowerPoint 2003 and PowerPoint 2007 HTML open full
screen
http://www.pptfaq.com/FAQ00428.htm
 
Thanks Michael,

I visited the website you mentioned, but you know, I don't want to take the
step of Publishing ppt to Website, I just want the same effect when someone
tries to open a ppt from a link in IE.
 
I think I understand what you want, and I don't think you can do it. From
what I understand, you want someone without PowerPoint to have the
ability to convert a PowerPoint presentation to a Web page. That would
require you to have access to the PowerPoint file format and then involve
extensive coding.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
David, thanks.

I have some codes involves this, could you tell me your email, so that I can
send them to you for your review.

The codes indicates it does not need Powerpoint to convert a ppt to html or
mht. My intention is that I let users install a Activex, so when they try to
open a ppt from server, they trigger the ActiveX first, and the ActiveX
downloads the ppt to a temp folder and then the Activex converts the ppt to
mht and open in IE for read, when the visitor close the IE the ActiveX
deletes all files in Temp folder involved. So, the server won't be added any
heavy burden.

thanks. My email (e-mail address removed)
 
I'm afraid I can't be much help looking at your code. I would be
surprised if it does what it says it does, but if it does what you want,
then you are in business.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
thanks anyway, David.

David M. Marcovitz said:
I'm afraid I can't be much help looking at your code. I would be
surprised if it does what it says it does, but if it does what you want,
then you are in business.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
The codes indicates it does not need Powerpoint to convert a ppt to html or
mht. My intention is that I let users install a Activex, so when they try to
open a ppt from server, they trigger the ActiveX first, and the ActiveX
downloads the ppt to a temp folder and then the Activex converts the ppt to
mht and open in IE for read, when the visitor close the IE the ActiveX
deletes all files in Temp folder involved. So, the server won't be added any
heavy burden.

There's at least one development kit that claims to be able to work with PPT
files w/o having PPT installed. It sounds like that's what you have.

Why not consult the author of the ActiveX?
 
Vane, I am not sure if you got a solution for this. I have a similar
requirement. Please let me know if you could help.

I would like to create a slide in power point and then use the content
created to send it in email (part of the body and not as attachment).

The approach I took was to create a ppt file then save as .mht file and then
send this in email. This didnot work as the content was not recognised ( i
used mime type "application/rfc822")
The next approach I took was to create a ppt file then save as web page,
upload both the html & the folder(with image, css etc) to the app server
which can be read by an email program to put it in email. This also did not
work as I am getting the Activex warning message in the email rather than the
content that I have created.

Can any one help me in this?

Thanks
 
You have two fundamental problems here:

1 - Not everyone uses an email system like Outlook that permits embedding all
manner of stuff in emails. Some are purely text, for example, or present embedded
stuff as attachments, regardless of what Outlook intended them to be.

2 - Even people with Outlook will probably have security settings that prohibit you
from doing what you want to do. Think about it ... do you want to allow anyone who
emails you something to run code on your computer just because you opened the
email?

So while you may be able to do what you want with some recipients' email, you
certainly won't be able to do it in the general case.

But perhaps your recipients all trust you and all use a common version of Outlook
and all have the same security settings (ie, within a single large organization or
the like). If so, the picture may be different. Let us know.
 
Back
Top