merhaba aşagıdaki gibi kodum var. diyorum ki listbox 1 de istem secersen devam et secemezsen timerleri durdur msgbox ile uyar. ama neyaparsam yapayım ister listbox dolu olsun isterse boş secmeden direk else nin altındaki durdurmaları yapıp msgbox cıkıyor ?? bu hatalı degilmi ? yani if elseif bu ise yaramıyormu if i yapamazsa ifelse gecer yaparsa elseyi es gecer ??? ifi hicbir şekilde yapmıyor atlayıp duruyor kod şu şekilde ;

Alıntı:
If ListBox1.SelectedIndex = 0 Then
ListBox2.SelectedIndex = 0
TextBox4.Text = ListBox1.SelectedItem
TextBox5.Text = ListBox2.SelectedItem
ListBox1.Items.RemoveAt(ListBox1.SelectedIndex)
ListBox4.Items.Add(TextBox4.Text)
ListBox2.Items.RemoveAt(ListBox2.SelectedIndex)
ListBox5.Items.Add(TextBox5.Text)
WebBrowser1.Document.GetElementById("Email").SetAt tribute("value", TextBox4.Text)
WebBrowser1.Document.GetElementById("Passwd").SetA ttribute("value", TextBox5.Text)
WebBrowser1.Document.GetElementById("signIn").Invo keMember("click")
TextBox4.Clear()
TextBox5.Clear()
Timer2.Stop()
Timer3.Start()
Else
Timer1.Stop()
Timer2.Stop()
Timer3.Stop()
Timer4.Stop()
Timer5.Stop()
Timer6.Stop()
Timer7.Stop()
Timer8.Stop()
ProgressBar1.Value = 0
MsgBox("Hesap Giriniz.")
End If

__________________