Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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
Reply With Quote
  #2 (permalink)  
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 06:06 AM.


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