web development India freelance website designer
' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
' Open a new project and add the following
'
' Paste the code in the declarations of your form
'
' Add a ListBox named List1
' Change the Style property of List1 to "1 - Checkbox"
'
' Add a Command button named Command1
'
' Run the project


Private Sub Command1_Click()

For N = 0 To List1.ListCount - 1
If List1.Selected(N) = True Then
MsgBox List1.List(N) & " is checked"
End If
Next

End Sub

Private Sub Form_Load()

For N = 1 To 10
List1.AddItem "Item Number " & N
Next

End Sub
Checks which items in a ListBox Control are select

1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550

Freelance ASP PHP web development | Web developer India Web development India| Prayagasoft - web designer India, Ecommerce developer india, Ecommerce design