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 March 18th, 2004, 01:51 PM
Registered User
 
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to NomAnor
Default Saving a form to a .txt file

Hello, i am fairly new to the wonderful world of ASP, my question is this: is there a good way to save the information i have collected in a form to a Text file? My form is working correctly right now, gathering the required information and then emailing it to the appropriate person for the problem. I would like to have it write the information collected in the form to a .txt file for other uses. What is the best way for me to go about this? I'm not exactly sure what commands i'll need to accomplish my goal so any help would be greatly appreciated. Thanks.
 
Old March 18th, 2004, 02:53 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You can use the Scripting.FileSystemObject class to accomplish this. You will have to look into permissions, as sometimes this can be a problem. I've always had problems with permissions when doing this in ASP.
 
Old March 19th, 2004, 12:21 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Another person has come up with a possible solution, that you may want to check out at: http://p2p.wrox.com/topic.asp?TOPIC_ID=11128.





Similar Threads
Thread Thread Starter Forum Replies Last Post
read any ".txt" file RodrigoGuteriez C# 3 November 18th, 2008 01:07 PM
calling txt fields of a form in a report mjuliao Access 1 October 16th, 2005 12:07 AM
EXCEL question saving a file saving the the first macupryk VS.NET 2002/2003 0 January 6th, 2005 05:33 PM





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