Hi Dude,
I load my textfile with copying the content of text file and paste it in textbox control or with this code:
CODE
Dim fName As String
Dim objStreamReader As StreamReader
Private Sub FileOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FileOpen.Click
Try
If OpenFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
fName = OpenFileDialog1.FileName
objStreamReader = New StreamReader(OpenFileDialog1.OpenFile)
TextBox1.AppendText(objStreamReader.ReadToEnd)
End If
'End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
I know that 50,000 lines would take time, but as I have observed, when I run this application and fire the event, it take more than 3 hours and still processing......I need to check the lines for at most 30 minutes.
Thanks,
RuleS