473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

writing date to files

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
3 901
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bill | last post by:
I'm writing a company intranet site, and on the home page, I'd like there to be links to some of the software that the employees frequently use on their own computer. This will be the inducement to...
4
by: George Stout | last post by:
First off I do not know alot about writing queries to an Access Database from an ASP page. This is why I need help. I have an Events database for 6 colleges in our metro area. On the homepage I...
9
by: Kelly Vernon | last post by:
I have a standard ASP page that appends to an xml page. Currently if there is more than one person attempting to append to the same XML file at a time. One user will have the ability to append,...
6
by: hpy_awad | last post by:
I am writing stings ((*cust).name),((*cust).address)to a file using fgets but rabish is being wrote to that file ? Look to my source please and help me finding the reason why this rabish is being...
4
by: HNguyen | last post by:
Hi, I have a Web application in ASP.NET. My Application allows the users upload files into the server after checking their user names and passwords. For each transaction, the Web program will...
12
by: Chris Springer | last post by:
I'd like to get some feedback on the issue of storing data out to disk and where to store it. I've never been in a production environment in programming so you'll have to bear with me... My...
0
by: georges the man | last post by:
The purpose: • Sorting and Searching • Numerical Analysis Design Specification You are to write a program called “StockAnalyser”. Your program will read a text file that contains historical...
1
by: Billy | last post by:
Hi All, I'm attempting to use the MapNetworkDrive <snippedbelow from entire code below with very poor performance results. Basically, I have very small 73kb text files that are rewritten daily...
1
by: aRTx | last post by:
<? /* Directory Listing Script - Version 2 ==================================== Script Author: Artani <artan_p@msn.com>. www.artxcenter.com REQUIREMENTS ============ This script requires...
1
by: Michael Leithold, WWK | last post by:
Hello, is there a .NET library for writing log files? I'm looking for something to configure the log files. E.g. using date-/timestamps, deleting old log files, log file rotation for big log...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.