Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2003, 11:24 AM
Authorized User
 
Join Date: Sep 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Displaying MS Word doucuments using ASP

I wan to display MS Word documents using ASP. I have a database that holds file name, date. When the user clicks on date, the corresponding MS Word file, should be displayed.
Please Help.

 
Old November 5th, 2003, 03:01 AM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 112
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please take a look at the links below. It describes how to create / display a Excel or Word document in a browser using asp, along with some additional information that might be useful.

HOW TO: Create an Office Document in an ASP Application
http://support.microsoft.com/default...b;en-us;301044

How to Configure Internet Explorer to Open Office Documents in the Appropriate Office Program Instead of in Internet Explorer
http://support.microsoft.com/default.aspx?kbid=162059

PRB: Internet Explorer Prompts User to Open/Save Office File Streamed from ASP
http://support.microsoft.com/default...b;EN-US;296717

As an aside:

...
<a href="path/to/myword.doc">11-04-2003</a>
...

Have you tried direct links, something like this? In this case IE should ask if want to open the document in the browser the first time your click the link.

Obviously, you would programatically create the html source to output the date and include links to your Word documents residing on your web server.








Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating MS Word documents in ASP Nicky2k Classic ASP Components 3 April 10th, 2007 08:12 AM
displaying a word doc using asp Adam H-W Classic ASP Databases 0 December 10th, 2005 09:15 AM
Opening a MS Word document from ASP saturdave Classic ASP Basics 0 May 25th, 2004 01:47 PM
ASP.NET & MS Word Napoline .NET Web Services 1 May 11th, 2004 07:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.