Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hummer010

    Read All Files ina Directory??

    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...
  2. hummer010

    Read All Files in Directory???

    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...
  3. hummer010

    Browse for folder from .asp??

    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...
  4. hummer010

    Browse for files from .asp page???

    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...
  5. hummer010

    Browse for folder from .asp??

    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...
  6. hummer010

    Browse for files from .asp page???

    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...
  7. hummer010

    Browse for files from .asp page???

    Is it possible to launch a "browse for file" dialogue from an .asp file?? If so, how??
  8. hummer010

    Write to a text file ....

    Got it figured out. You're code is right. File = "c:\temp\write.txt" Set FileObj = Server.CreateObject("Scripting.FileSystemObject") Set OpenFile = FileObj.CreateTextFile(File, True) OpenFile.writeLine strDatabase Thanks.
  9. hummer010

    Write to a text file ....

    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...
  10. hummer010

    Write to a text file ....

    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...
  11. hummer010

    Looping??

    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...
  12. hummer010

    Looping??

    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...

Part and Inventory Search

Back
Top