Showing posts with label dotnet. Show all posts
Showing posts with label dotnet. Show all posts

code for reading the text file in vb.net using windows application,How to read the text file using vb.net in windows application,text file reading

04 July 2011

You can read the Text File using the Below mentioned Code in vb.net and also in the windows application :

Dim LineOfText As String
Try
Dim StreamToDisplay As StreamReader
StreamToDisplay = My.Computer.FileSystem.OpenTextFileReader(Trim(BatchNo & "")) 'Here The Text File Reader is opened by taking its path
Do Until StreamToDisplay.EndOfStream 'Here by using the loop we can read the text file until it reaches the end of file
LineOfText = StreamToDisplay.ReadLine() 'Here you can read the line
LineOfText = LineOfText & vbCrLf
TextBox1.Text &= LineOfText
Loop
Catch ex As Exception
End Try



Here You can download the Example code For it .............SAMPLE TEXT FILE READING CODE

mobile applications developments using the dot net free download

28 October 2010

Asp.net materials are available free download from here and you can get the valuable data and it is only for the information purpose only.

ASP . Net books free download :

 
 
HTML Hit Counter