cciedreamer
New member
- Joined
- Feb 26, 2010
- Messages
- 2
- Programming Experience
- Beginner
Hello
what a cool forum. Thank you for allowing me to join.
hello everyone. Just a litte about me. Well, I am not intermediate
but I am not a beginner either. And I like to try to do my own work as much as I can. I am not a mooch just to let you know.
Okay,
I made this tiny program that pulls in a text file data with StreamReader
method. Okay how can I sort the text file alpahbetically A - Z while it comes in is this possible? and how do I do it, I have no clue. Any good examples out there I can look at or any suggestions. Thanks
what a cool forum. Thank you for allowing me to join.
hello everyone. Just a litte about me. Well, I am not intermediate
but I am not a beginner either. And I like to try to do my own work as much as I can. I am not a mooch just to let you know.
Okay,
I made this tiny program that pulls in a text file data with StreamReader
method. Okay how can I sort the text file alpahbetically A - Z while it comes in is this possible? and how do I do it, I have no clue. Any good examples out there I can look at or any suggestions. Thanks
VB.NET:
Private Sub mn_ViewHolidays_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mn_ViewHolidays.Click
Dim FILE_NAME As String = "C:\test.txt"
If System.IO.File.Exists(FILE_NAME) = True Then
Dim objReader As New System.IO.StreamReader(FILE_NAME)
txt_HolidayView.Text = objReader.ReadToEnd
objReader.Close()
Else
MsgBox("File Does Not Exist")
End If
End Sub