|
-
October 8th, 2001, 01:16 AM
#4
Re: Varible not defined ???
Hi,
U can use the FileSystemObject to return a text stream object that can be read from or written to:
Dim fs,mf
set fs=CreateObject("Scripting.FileSystemObject")
set mf=fs.CreateTextFile("c:\textfile.txt,True)
mf.writeline("This is a sample text.")
mf.close
try the above code for creating a text file with the text.
Have a nice time
sunil.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|