Geek4Ever Master Cheater
Reputation: 1
Joined: 31 Oct 2008 Posts: 353 Location: Milano,Texas
|
Posted: Mon Mar 16, 2009 9:06 pm Post subject: ListBox Items VB.net |
|
|
ok how do i remove the same item in a listbox but keep the new one like if someone press a button and it makes the same item i want the last item to be deleted i am makeing a var tester for flash games here is my code
| Code: |
On Error GoTo x
Dim getv As String
getv = AxShockwaveFlash1.GetVariable(TextBox1.Text)
If RadioButton1.Checked = True Then
ListBox1.Items.Add(TextBox1.Text + "= " + getv)
Else
getv = MsgBox(getv)
End If
x:
MsgBox("Error Please Try Again") | [/code]
|
|