August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!
Dim int As Integer = lsbTasks.SelectedIndex If int = lsbTasks.Items.Count Then btnSTDown.Enabled = False ElseIf int <> lsbTasks.Items.Count Then btnSTDown.Enabled = True Try int = lsbTasks.SelectedIndex + 1 Dim item As String = lsbTasks.SelectedItem lsbTasks.Items.Remove(item) lsbTasks.Items.Insert(int, item) lsbTasks.SetSelected(int, True) Catch End Try End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.