Results 1 to 2 of 2

Thread: File I/O with IIS webclass.....

  1. #1
    Guest

    Question

    Is it possible to use a simple...

    Open file for input as Fileno

    in a webclass. I'm trying to access a text file in a webclass using "Line input #FileNo, newline". Works fine in VB IDE but when run in compiled mode on another machine, I don't get any output. Is this possible with a webclass or can I do database only?

    AmigaZoid

  2. #2
    Guest
    Code:
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set txf = fs.CreateTextFile("c:\yourtext.txt", True)
    use the readline or readall methods to pull a string from the file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width