hello!
i'm a new member at the forum and i'm starting to work with
Visual basic.
I'm having some problems and need help deleting some listbox items.
Example:
Private Sub cmdapg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdapg.Click
If MsgBox("Are you sure you want to delete?", MsgBoxStyle.OkCancel) = MsgBoxResult.Ok Then
For n As Integer = 0 To Me.lstfiles.Items.Count - 1
Me.lstfiles.SetSelected(n, True)
?????
Tanks
i'm a new member at the forum and i'm starting to work with
Visual basic.
I'm having some problems and need help deleting some listbox items.
Example:
Private Sub cmdapg_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdapg.Click
If MsgBox("Are you sure you want to delete?", MsgBoxStyle.OkCancel) = MsgBoxResult.Ok Then
For n As Integer = 0 To Me.lstfiles.Items.Count - 1
Me.lstfiles.SetSelected(n, True)
?????
Tanks