aspose file tools
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
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "open ppt using javascript in firefox" Watch "open ppt using javascript in firefox" New topic
Author

open ppt using javascript in firefox

shreya vinay
Greenhorn

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.
shreya.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35223
    
    7
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).


Android appsImageJ pluginsJava web charts
shreya vinay
Greenhorn

Joined: Sep 02, 2005
Posts: 6
Hi,

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

Thanks.
Shreya.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56153
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26144
    
  66

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: open ppt using javascript in firefox
 
Similar Threads
Closing an applet in Firefox
FireFox, taking back the web?
how can i open save file dialog box in firefox?
Disable image button
pageContext.exception is not executing