J Joe Smith May 24, 2005 #1 What is the syntax to read the nth item in the listbox. ..NetFramework 1.1. and VB.Net 2003. Thanks, Joe
What is the syntax to read the nth item in the listbox. ..NetFramework 1.1. and VB.Net 2003. Thanks, Joe
H Herfried K. Wagner [MVP] May 24, 2005 #2 Joe Smith said: What is the syntax to read the nth item in the listbox. Click to expand... \\\ Dim o As Object = Me.ListBox.Items(n - 1) /// If your items are strings: \\\ Dim s As String = DirectCast(Me.ListBox1.Items(n - 1), String) ///
Joe Smith said: What is the syntax to read the nth item in the listbox. Click to expand... \\\ Dim o As Object = Me.ListBox.Items(n - 1) /// If your items are strings: \\\ Dim s As String = DirectCast(Me.ListBox1.Items(n - 1), String) ///