PDA

View Full Version : FSO problems


PaulR
11-08-2003, 01:35 AM
I have a problem with FileSystem Object
My code:
---------------------------------
Set objStream=objFolder.CreateTextFile(strFileName,Tru e,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???

kiddanger
12-17-2003, 11:31 AM
This is the extent of your code? Surely there must be more...

-kid-

bruce
12-18-2003, 11:45 AM
Which line is erroring out?

[b]quote:Originally posted by PaulR

I have a problem with FileSystem Object
My code:
---------------------------------
Set objStream=objFolder.CreateTextFile(strFileName,Tru e,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">