Mar 8, 2007 #1 uzzie123 Technical User Mar 7, 2007 21 CA Hi, How do you create a link on a asp page that opens a word document?
Mar 8, 2007 #2 DotNetGnat Programmer Mar 10, 2005 5,548 IN set the response.contenttype to application/msword on top of your asp page...something like this: <% Response.ContentType = “application/vnd.ms-word” %> -DNG Upvote 0 Downvote
set the response.contenttype to application/msword on top of your asp page...something like this: <% Response.ContentType = “application/vnd.ms-word” %> -DNG
Mar 8, 2007 Thread starter #4 uzzie123 Technical User Mar 7, 2007 21 CA Well, I basically want a link in a page that will open a word document. Is that possible? thx Upvote 0 Downvote
Mar 8, 2007 #5 monksnake Programmer Oct 14, 2005 2,145 US Yes, you can just do Code: Response.Write("<a href='filename.doc'>Click here to open WORD document</a>"); This will open a word document in word. It will ask you though before opening whether you want to open it or save it. <. Upvote 0 Downvote
Yes, you can just do Code: Response.Write("<a href='filename.doc'>Click here to open WORD document</a>"); This will open a word document in word. It will ask you though before opening whether you want to open it or save it. <.