Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
how do i creat a form that creates a file?
3 Answers
- 1 decade agoFavorite Answer
It's not the form that creates the file it the file that you post to that creates the file.
You have to decide what type of server you will be using then you can decide what language you will want to use to process the post and create the file.
ie: php, asp,,cgi,,asp.net, jsp
in the case below when you hit submit it will process any form values you have and then you create the file based on the language sysntax and functions you decide to use.
<form action=Makefile.asp method=post>
<input type=submit name="Make File" value="Make file">
</form>
- sinkablehail1978Lv 51 decade ago
Look into Javascript. If not I'd suggest using something like asp.net with C# or VB.NET on the code behind. Since these are full blown languages, you should have no issue creating a file.
- 1 decade ago
Which kind of form do you mean?HTML or winfrom.
If you mean winform and the language is C# you should use FileStream,StreamReader and StreamWriter objects.
Just search for them in msdn.
email me if you didn't find nothing useful.I'll send the complete code for file creation, reading from file and writing to file.
moein_moradi2003@yahoo.com