Meaningless Drivel is fun!*
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
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: 41096
    
  44
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).


Ping & DNS - my free Android networking tools app
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: 60774
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

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
FireFox, taking back the web?
Disable image button
pageContext.exception is not executing
how can i open save file dialog box in firefox?
Closing an applet in Firefox