Hi guyz,
I am using vb.net console application to read a flat file
Does anyone know the codes for it? and how do you write the result that you read onto the console?
Thx in advance
Printable View
Hi guyz,
I am using vb.net console application to read a flat file
Does anyone know the codes for it? and how do you write the result that you read onto the console?
Thx in advance
http://search.microsoft.com/results....file&mkt=en-au
You write to the console using the methods of the Console class whose names begin with "Write".
Console.WriteLine is the method that you should use to write the output on to the Console Window. Regarding reading the file, you can use StreamReader class which is contained in System.Text Namespace. The samples, ect can be found on MSDN.