Need syntax for: MsgBox("We have a hit people = " & TextBox2.Text.Lines[i])

  • Thread starter Thread starter vmars316
  • Start date Start date
V

vmars316

Guest
Hello & Thanks ;

I have spent hours searching the internet ,

to find out what is the syntax for reading a specific line from a multiline textbox .

Why aren't there good docs for vb.net windows forms for .vb

like there are for C# ?

Anyone know of such a site ?

Anyways , below is the code I am trying to master .

Thanks

Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
txbAddress.Text = WebBrowser1.Url.ToString
Textboxt2LinesCount = TextBox2.Lines.Length()
For i = 0 To Textboxt2LinesCount
' MsgBox("Textboxt2LinesCount = " & i)
If txbAddress.Text = TextBox2.Text.Lines Then
MsgBox("We have a hit people = " & TextBox2.Text.Lines)
Else
MsgBox("We have a NO HIT people = " & TextBox2.Text.Lines)
End If
Next
End Sub




"All things in moderation, except for love and forgiveness."...vm

Continue reading...
 
Back
Top