FSO problems

Discussion in 'Classic ASP' started by PaulR, Nov 8, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I have a problem with FileSystem Object
    My code:
    ---------------------------------
    Set objStream=objFolder.CreateTextFile(strFileName,True,False)
    objStream.Write ("" & Mystr & "")
    objStream.close
    -----------------------------------------
    When I am trying to write a text into file in NOW-US charset, i receive a error
    "Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument"
    If I write text in English, there is no error occured...
    How do fix it???
     
  2. This is the extent of your code? Surely there must be more...

    -kid-
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Which line is erroring out?

    quote:Originally posted by PaulR

    I have a problem with FileSystem Object
    My code:
    ---------------------------------
    Set objStream=objFolder.CreateTextFile(strFileName,True,False)
    objStream.Write ("" & Mystr & "")
    objStream.close
    -----------------------------------------
    When I am trying to write a text into file in NOW-US charset, i receive a error
    "Microsoft VBScript runtime error '800a0005' Invalid procedure call or argument"
    If I write text in English, there is no error occured...
    How do fix it???
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page