File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes open ppt using javascript in firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "open ppt using javascript in firefox" Watch "open ppt using javascript in firefox" New topic

open ppt using javascript in firefox

shreya vinay

Joined: Sep 02, 2005
Posts: 6
Dear all,

I have succesfully tried opening a powerpoint file in IE using ActiveXObject("PowerPoint.Application"). But since ActiveX is not supported by fire fox as far as i know, how can i open it in firefox?
Please add your suggestions.

Thanks in Advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
How about simply adding a link to the file? Either the client has PPT installed (in which case he may be offered to open it), or not (in which case saving it is the only option).
shreya vinay

Joined: Sep 02, 2005
Posts: 6

Thanks for your suggestion. can we have any other alternative other than saving to open in firefox?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

There is no alternative. If PowerPoint (or a program like Keynote that can open ppt files) is not installed, there's nothing you can do to make one magically appear.

[Asking smart questions] [About Bear] [Books by Bear]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33107

Also Firefox will not open the file within the Firefox window (unless someone has theirs configured to do so - I think that's possible.) The default is to launch PowerPoint externally.

Microsoft does offer a free (Windows) PowerPoint viewer. You could have a link to this for people who don't have PowerPoint installed.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: open ppt using javascript in firefox
jQuery in Action, 3rd edition