By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,579 Members | 1,765 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,579 IT Pros & Developers. It's quick & easy.

writing date to files

P: n/a
Hello there
Need to write strings to a file.
What classes should I use, instead of using
createObject("scripting.FileSystemObject") and open textfile method.
Thanks in advance
Sameh
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Take look at the streamwriter class.

http://msdn.microsoft.com/library/de...TextToFile.asp

Ken
---------------------
"Sameh Ahmed" <es******@hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP12.phx.gbl...
Hello there
Need to write strings to a file.
What classes should I use, instead of using
createObject("scripting.FileSystemObject") and open textfile method.
Thanks in advance
Sameh

Nov 21 '05 #2

P: n/a
Check out System.IO namespace.

A sample is here:
http://msdn.microsoft.com/library/de...texttofile.asp

"Sameh Ahmed" <es******@hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP12.phx.gbl...
Hello there
Need to write strings to a file.
What classes should I use, instead of using
createObject("scripting.FileSystemObject") and open textfile method.
Thanks in advance
Sameh

Nov 21 '05 #3

P: n/a
Thanks people
More than enough
"Shiva" <sh******@online.excite.com> wrote in message
news:eq**************@TK2MSFTNGP15.phx.gbl...
Check out System.IO namespace.

A sample is here:
http://msdn.microsoft.com/library/de...texttofile.asp
"Sameh Ahmed" <es******@hotmail.com> wrote in message
news:eX**************@TK2MSFTNGP12.phx.gbl...
Hello there
Need to write strings to a file.
What classes should I use, instead of using
createObject("scripting.FileSystemObject") and open textfile method.
Thanks in advance
Sameh

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.