12-09-2008, 12:47 PM
Dear Kishore Every thing is fine what you need to do is
Objects which u created names are mismatching so correct all names then u can run smoothly.
here is the code
let me kwow ur resukts
Objects which u created names are mismatching so correct all names then u can run smoothly.
Code:
Dim fso, objFile1, objFile2
Set objFSO=CreateObject("Scripting.FileSystemObject")
objFile1=objFSO.CreateTextFile("C:\testfile.txt", true)
Const ForWriting=2
Set objFSO=CreateObject("Scripting.FileSystemObject")
objFile2=objFSO.OpenTextFile("C:\testfile.txt", ForWriting, True)
objFile1.write str
here is the code
let me kwow ur resukts