If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to Remove ListView Item in VB 6.0

Private Sub Command4_Click()
Dim choice As Integer
Dim str As String
Dim i As Integer
choice = MsgBox("Are you sure you want to delete this record?", vbYesNo + vbQuestion, "Confirmation")
If choice = vbYes Then
For i = ListView1.ListItems.Count To 1 Step -1
If (ListView1.ListItems(i).Text = "") Then
ListView1.ListItems.Remove (i)
End If
Next
MsgBox "Record Delete", vbOKOnly, "Success"
End If
End Sub

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.