I have an .asp page that currently opens one text file, and creates a new one based on the old text file.
Currently I have a text box where the old file's name/path is entered.
I would like to be able to enter a directory path into the text box, and have the asp open each file in the...
I have an .asp page that currently opens one text file, and creates a new one based on the old text file.
Currently I have a text box where the old file's name/path is entered.
I would like to be able to enter a directory path into the text box, and have the asp open each file in the...
I was wrong about the file creation.
My computer is the server, with the D: Drive shared. There is only one other user who has my d: drive mapped as his d: drive.
It appeared that the files were being created locally, but that was just because both computers have the same d: drive.
If I...
As it turns out, I'm not creating a text file on the users computer. I never even questioned it until you said I shouldn't be able to.
There are only two of us who use the .asp frequently, and the other user's d: drive is mapped to my d: drive. We put all of the text files on the d: drive so...
I have an .asp file which creates a text file on the users computer full of data from an ODBC linked database. I currently have a textbox which the user has to enter the full path of the new file into. People are complaining that they wish they could browse folders as well.
What I would like...
I have an .asp page which creates a text file on the users computer full of information from an ODBC linked database. Currently I have a text box where the user types in the full path for the file. I get some complaints that the users would like to be able to browse instead.
The .asp...
Okay. I think I figured out how to open the file. I am using this code:
File = "c:\temp\write.txt"
Set FileObj = Server.CreateObject("Scripting.FileSystemObject")
Set OpenFile = FileObj.OpenTextFile(File)
I don't get any errors from this.
I need to know how to write to...
I have a .asp page which selects data from a database using an SQL statement and an ODBC connection.
I need to be able to open a text file, or create it if it doesn't exist, and write data to that text file, one line at a time. I am more familiar with VB. In VB I would have done this:
wFile...
Okay, changing the != to a <> made the script work, but the loop is never ending!! I take the From_Twp and To_Twp froma Querystring. From_Twp is always smaller than To_Twp. If I run the loop with <>, it is a never ending loop. If replace the <> with a simple <, it is still a never ending...
To start off, I know nothing about VBscript. I am using instructions I found on the internet, and trying to adapt them to my needs. I am writing a couple of asp's for database access from the web. I need to have a looping function from a user entered number to a user entered number. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.