Skip to main content

AccessTr.neT


TextBox & ListBox

TextBox & ListBox

Çözüldü #3
Kodlar Bunlar

Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
TextBox1.Text = WebBrowser1.DocumentText

Dim ara, aranan As String
Dim ilk, son, deg1
ara = TextBox1.Text
deg1 = deg1 & ara
aranan = "<cite>"
ilk = InStr(1, deg1, aranan) + Len(aranan)
If ilk <> Len(aranan) Then
son = InStr(ilk, deg1, "/") - ilk

ListBox1.Items.Add(Mid(deg1, ilk, son))

End If

Label1.Text = ListBox1.Items.Count


End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Enter

Dim daw As String
daw = TextBox2.Text
WebBrowser1.Navigate("http://www.google.com.tr/search?as_q=" + daw)
End Sub

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = 0
TextBox1.Visible = False
End Sub
End Class
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
TextBox & ListBox - Yazar: TheWayEnd - 20/06/2011, 10:47
Cvp: TextBox & ListBox - Yazar: aobendes - 20/06/2011, 11:00
Cvp: TextBox & ListBox - Yazar: TheWayEnd - 20/06/2011, 11:19
Cvp: TextBox & ListBox - Yazar: ~~KaG~~ - 20/06/2011, 11:34
Cvp: TextBox & ListBox - Yazar: TheWayEnd - 20/06/2011, 11:39
Cvp: TextBox & ListBox - Yazar: TheWayEnd - 21/06/2011, 10:27
Cvp: TextBox & ListBox - Yazar: TheWayEnd - 22/06/2011, 17:28
Cvp: TextBox & ListBox - Yazar: alpeki99 - 22/06/2011, 17:32
Cvp: TextBox & ListBox - Yazar: TheWayEnd - 22/06/2011, 17:37
Cvp: TextBox & ListBox - Yazar: ~~KaG~~ - 22/06/2011, 18:29
Cvp: TextBox & ListBox - Yazar: TheWayEnd - 22/06/2011, 22:39
Task