bhagwatn Posted September 17, 2003 Posted September 17, 2003 How do you find the index to the last item of a listBox? inshort, I want to find out how many items are there! Thanks, Narendra Quote
Mehyar Posted September 17, 2003 Posted September 17, 2003 Dim ItemCount As Integer = ListBox1.Items.Count() Quote Dream as if you'll live forever, live as if you'll die today
Administrators PlausiblyDamp Posted September 17, 2003 Administrators Posted September 17, 2003 ListBox1.Items.Count although I think ListBox1.Items.Add("things") should return an integer giving the new index. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.