Read Total No Of Lines and Text From Notepad

  • Dim a As String = "D:\test.txt"


    Dim file_count As Integer = File.ReadAllLines(a).Length


    Label3.Text = file_count


    Dim count As Integer = File.ReadAllText(a).Length
    Label1.Text = count




Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative