Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FSO Error
#2
Solved: 11 Years, 2 Months, 1 Week ago
used OpenAsTextStream(2, TristateUseDefault) 'forwriting default value is 2 and forreading default value is 1.
Now code will look like
Code:
set fso=createobject("scripting.FileSystemObject")
set f= fso.getfile(c:\test.txt")
set ofile=f.OpenAsTextStream(2, TristateUseDefault)
ofile.write "this is test" & Vbcrlf

But i want to try opentextfile command. Plz help on that.
Thanks
Reply


Messages In This Thread
FSO Error - by newqtp - 04-29-2008, 03:28 AM
RE: FSO Error - by newqtp - 04-29-2008, 04:01 AM
RE: FSO Error - by somisays - 04-29-2008, 05:08 PM
RE: FSO Error - by newqtp - 04-29-2008, 11:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Reading an Existing File using FSO prabhu656656 1 1,955 09-10-2009, 12:18 AM
Last Post: sreekanth chilam

Forum Jump:


Users browsing this thread: 1 Guest(s)