Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional 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 August 19th, 2005, 04:51 AM
Authorized User
 
Join Date: Aug 2005
Location: Mumbai, Maharashtra, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to abhisheksud Send a message via Yahoo to abhisheksud
Default Create and Save ASP form Contents to Word Document

I wanted to save my form contents into a special given template in the doc format.although i am able to populate the contents at the required field however the file is not getting saved anywhere. after whole processing i am redirecting to a page but without the doc file bieng created. earlier when i was not using the redirect fn a window used to pop up asking me to whether to save or open it..Now i dont want this windows but also to automatcally save the file.

the code that i am currently using is

Response.ContentType = "application/msword"
Response.AddHeader "Content-Desposition", "attachment;filename=quotes.doc"


what changes should i make so taht it automatically saves and creates the file

abhishek
 
Old October 13th, 2005, 04:00 AM
Authorized User
 
Join Date: Jul 2004
Location: , , .
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi i am having the same problem, where i keep getting a popup prompting the user to save the file. i want to save it automatically. did you figure out a way to do this? thanks, treasa





Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Word document from Access Form ppenn Access VBA 2 December 14th, 2005 07:51 AM
Save Asp Document Kacey Classic ASP Basics 0 March 9th, 2005 10:35 AM
How to Create Links to Word Document frm Reports sundarakshi Crystal Reports 0 November 6th, 2004 02:19 AM
display word document in form collie VB.NET 2002/2003 Basics 1 September 12th, 2004 09:53 PM





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