PDA

View Full Version : How To Open Word Document from HTML?


LBL2009_1
07-09-2008, 04:23 PM
How to open Word Document in HTML page code?
I am looking to open the document within word and not the browser.

I know this is also a setting within the Internet Browser itself but I am hoping there is a way to force open in word rather than the browswer.

Can this be done?

?????
L

j1adobe
07-10-2008, 04:21 PM
I don't think there is. You can save a word doc from an HTML page.

What are you trying to do?

rafiki
07-10-2008, 04:24 PM
If there is a way, right click the HTML page, open with then navigate to MSWORD

LBL2009_1
07-10-2008, 06:39 PM
Thank you both for responding.
What I am trying to do:

I have a link on an html page which is a word document. When the link is clicked it opens within the IE browser. If I want the word document to open within Word rather than IE browser - there is an actual folder view type option setting that I can adjust to make it open outside the IE browser...

BUT I want the html page to automatically force it to open in Word rather than have the user change their computer settings.

What I have come to find is that html does not support this option. JavaScript or ASP can handle this but I am unsure how this is done.

:confused:

Any thoughts on how to add JavaScript to my html page and how does that incorporate with the href tag?

imobilliare
07-10-2008, 08:11 PM
Right-click the document, and click "Open With Notepad"

Or open Notepad, then open the HTML doc.

Millenia
07-10-2008, 08:18 PM
How to open Word Document in HTML page code?
Can this be done?


No. It cannot...

rnd me
07-11-2008, 01:01 AM
change the mimetype for .doc files in asp(iis) config to "x-application/unkownWord" and the browser should prompt the user about what to do with it (open or save). clicking open would allow user to select word from the installed programs shortcut listing, or worst-case, browse to the word exe.

docta13
07-22-2008, 08:48 PM
I have this exact same issue (hence, how I found this thread). Did you know that in Firefox (at least in v3), the exact functionality you are looking for is the default behavior?

I found this out...but unfortunately I need it to work in IE. Anyone have an idea for us? I assume there is some manipulation of the way IE acts which would correct our problem....hopefully with the change being made in the HTML code