|
Subject:
|
Words Document
|
|
Posted By:
|
maha
|
Post Date:
|
9/27/2004 6:20:05 AM
|
Hi all,
I created a html file and have a link to open a words document. Below is my code:
<a href="C:\Program Files\Microsoft Office\Office10\WINWORD.EXE" "G:\TTP\Template\maha-test.doc">View Document</a>
This command manage to open MS Words but not the document. I know something is not correct with the command. Please assist.
Thanks, Maha
|
|
Reply By:
|
meow
|
Reply Date:
|
9/27/2004 6:31:28 AM
|
That's odd. For me the browser tries to download the exe, even locally. Anyhow, you can't have Windows command line as a link. Just link to the doc and it will open in Word by association, within or outside the browser, if the system is set up that way.
(o< //\ =^..^=
|
|
Reply By:
|
charul_shukla
|
Reply Date:
|
9/29/2004 1:02:45 AM
|
Simple <a href="/config.doc">link to word document </a> will also work if the document exist in the same directory otherwise you need to provide a qualified path
Charul Shukla
|
|
Reply By:
|
qazi_nomi
|
Reply Date:
|
9/29/2004 1:56:33 AM
|
Dear Charul Shukla your code wil try to download the file while Huma wants to open in in the browser or simply open in in word
(*_*)
Numan -------------------------------------------------- It is not important what you get But important is how you got it
|
|
Reply By:
|
joefawcett
|
Reply Date:
|
9/29/2004 2:00:33 AM
|
quote: Originally posted by qazi_nomi
Dear Charul Shukla your code wil try to download the file while Huma wants to open in in the browser or simply open in in word
Untrue.
If Word is installed and in its file associations "Confirm open on download" is not checked then the link will open Word. Whether Word is integrated with IE or opened as a separate applicationis governed by the setting "Browse in same window".
--
Joe
|
|
Reply By:
|
charul_shukla
|
Reply Date:
|
9/29/2004 2:07:43 AM
|
Right joe
Charul Shukla
|
|
Reply By:
|
qazi_nomi
|
Reply Date:
|
9/29/2004 2:16:22 AM
|
No no if we want to open it without any prompt then how we do as some of PDF files open in the browsers without any prompt How to avoid the prompt message ?
(*_*)
Numan -------------------------------------------------- It is not important what you get But important is how you got it
|
|
Reply By:
|
charul_shukla
|
Reply Date:
|
9/29/2004 2:37:49 AM
|
As joe said earlier also, i think its more depand on the settings, like on my machine it did not asked me any question and open the word doucment right there in browser by integrating the MS-WORD in it.
Charul Shukla
|
|
Reply By:
|
qazi_nomi
|
Reply Date:
|
9/29/2004 3:08:44 AM
|
Dear it is due to that when first time message apears it ask that in future ask this or direct open it u clikc on open so that why there is no any prompt message
(*_*)
Numan -------------------------------------------------- It is not important what you get But important is how you got it
|