|
-
Feb 6th, 2007, 03:49 AM
#1
Thread Starter
Lively Member
[RESOLVED] Console data
how can i save console data which is shown in console application?
-
Feb 6th, 2007, 03:51 AM
#2
Re: Console data
The same way you save any data in any application. Are you talking about using a database, a file of some type, the registry, something else?
-
Feb 6th, 2007, 04:08 AM
#3
Thread Starter
Lively Member
Re: Console data
i just want to save data in text file..
-
Feb 6th, 2007, 04:26 AM
#4
Re: Console data
You would write to a text file using a StreamWriter, or you can use some of the methods of the File class (e.g. WriteAllText, AppendAllText) or the My.Computer.FileSystem object (e.g. WriteAllText). Note that, if you want to use a StreamWriter, you can create one explicitly or with the File.OpenText or My.Computer.FileSystem.OpenTextFileWriter. An MSDN search for write text file would yield all manner of results.
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
|