Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening word document in MSWord from hyperlink

Status
Not open for further replies.

anpfire

Programmer
Oct 8, 2003
22
CA
Hi,
I have a hyperlink to a Word document. The problem is that it opens up in the webpage itself when I click on it. I would like it to open in Microsoft Word. How do I force it to do this? I appreciate any suggestions.
Anoop.
 
You can't force it to do anything. Because not everyone has Microsoft Word

I myself use Linux, and open up text documents, in either KWrite, or KEdit. The only thing you can do is provide the link, which gives the users an option to view it in the browser, or download the file.

 
It is possible ...:
Start Registry Editor,
locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8,
add a REGDWORD valuename BrowserFlags with value 9.
That should do the trick.

Can anyone help me with this:
i want to open a worddocument from a worddocument with a hyperlink but not in the same window of Word but in a new one..

 
Unfortunately, this is a user setting... and I don't believe you can "force it".

You could put the following instructions on your site, with screen shots. :)

To change the setting:
1. Open Windows-Explorer
2. Goto "Tools | Folder Options..."
3. Select the "File Types" tab.
4. Scroll down to the "DOC" Extension - Microsoft Word Document should be listed beside it.
5. Choose the "Advanced" button.
6. Uncheck the option: "Browse in same window".

That's it. Hope this helps!

Pete.


Lotus Notes Web Developer / Aptrix (LWWCM) Consultant
w: e: Pete.Raleigh(at)lclimited.co.uk
 
jous,

To answer your question you can... well at least you can in Office XP/2002.

To do it:
1. Create the text you want for the intro to the hyperlink (eg "Click here to view the file").
2. Highlight "Click here".
3. Goto "Insert | Hyperlink..."
4. Choose "Existing File or Web Page" - Look in "Current Folder". And SELECT (don't double-click) the Word Document you want.
5. Click on "Target Frame..." and choose "New window"
6. Click OK.

That should do it.

Pete.


Lotus Notes Web Developer / Aptrix (LWWCM) Consultant
w: e: Pete.Raleigh(at)lclimited.co.uk
 
Pete,
That just opens it in a new window, if they happen to have Netscape/Mozilla/etc. or they don't have word or they aren't running windows the result is not a new Word window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top