Click to See Complete Forum and Search --> : Opening an Office document straight from IE


docta13
07-22-2008, 01:29 PM
Here's a new one...Firefox performs the way I want, and IE doesn't do the job. Only problem is, I need it to work in IE.

Here's a simple one-liner for an opening a Word document in a local sub-folder:
<a href="subfolder/filename.doc">Link Title</a>

When I left-click on this link in my index page, I get the typical "Open", "Save", and "Cancel" options popping up in a window. When I click "Open", it currently opens the Word file within the browser (not what I want).

Can someone please tell me what I need to do to my HTML file to have the Word document open within the Microsoft Word application? I don't want to change any default settings on my computer.

Thank you for your help!

ryanbutler
07-22-2008, 04:20 PM
I don't understand how Firefox could be working differently. Both browsers exhibit the same behavior on my machine. This type of behavior is really up to the browser and a user's default and or preferences. There's no way in code to get around that I know of.

felgall
07-22-2008, 05:26 PM
If IE isn't opening it in the browser it is because you haven't told IE that it should do so. A browser will open in the browser whatever files it knows how to open where you have told it to work that way.

ray326
07-22-2008, 10:04 PM
Can someone please tell me what I need to do to my HTML file to have the Word document open within the Microsoft Word application? I don't want to change any default settings on my computer.You're basically out of luck. By default IE is going to work the way Microsoft wants it to and if you don't like it then you're just wrong. There are ways to make it work like you want but it requires fiddling the registry, maybe through one of IE's configuration dialogs.