Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails
Can someone explain what I'm doing wrong, and provide a sample that works?
Sub FillCombo() Dim i As Integer, M As String For i = 0 To 19 cboBookmarks.SelectedValue = "Id" & Str(i) M = "Data" & Str(i) cboBookmarks.SelectedText = M cboBookmarks.Items.Add(M) Next (i) cboBookmarks.Text = "item" End Sub Private Sub cboBookmarks_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboBookmarks.SelectedIndexChanged Dim index As Integer = cboBookmarks.SelectedIndex Dim Item As String = cboBookmarks.SelectedItem Dim Value As String = cboBookmarks.SelectedValue ' MsgBox("Selected = '" & Item & "', and the ID Value ='" & Value & "'") RunMMtest.Focus() End Sub
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
20 Experts available now in Live!