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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Posting Word document

Status
Not open for further replies.

JillWalser

Programmer
Dec 18, 2002
11
US
I'm sure this is a simple question, just never done it before. I made a document I want my users to download and print. How do I link to it? If I link to a .doc does Word open for the user? What if they don't have Word?
Thanks!
J
 
You could use something like:
Code:
<a href="filename.doc">My document for download</a>

A user setting in Windows Explorer sets whether the file is opened within the browser (if they have Word installed), or whether it is opened in a new window (and prompted to save / open).

1. Tools -> Folder Options... -> File Types
2. Scroll down to "DOC" and click on the Advanced button.
3. Confirm open after download, allows the user to select whether they want to open it after downloading (obviously)
4. While browse in same window causes document to open within the web browser and integrate the Word toolbar with the Internet Explorer options.

I think if the user doesn't have Word installed and they try to Open it (after download), they will be prompted to say that no file association exists for this document.

Hope this helps.

Pete.


Web Developer &amp; Aptrix / Lotus Workplace Web Content Management (LWWCM) Specialist
w: e: Pete.Raleigh(at)lclimited.co.uk
 
This might not be what you ultimately want, but have you thought about using a PDF instead of a word document?

PDF's are far more reliable, compact, useful and the reader is a free download!

Word is very much a proprietary format and is really, in my opinion, not suited for web use.

If you don't have Acrobat to create the PDF's then you can get a free PDF creator at SourceForge

I've not used it for a while, but it was very good the last time I did.
 
Because you have to have a proprietary and expensive piece of software to use it.

Open Office aside ;-)

It is therefore unreliable as a great many poeple don't have word or the means to buy it.

Whereas the Adobe Acrobat Reader is free and readily available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top