quote:
Originally posted by Chris Boulton
To get the text of the selected item can't you use this?
Dim MyItem as String
MyItem = List1.Items(List1.SelectedIndex)
Yep, only it is "ListIndex". "SelectedIndex" is from VB.NET...
quote:
Originally posted by dylan!
and i cant find any online tutorials on it...
ermmm.... google "vb filelistbox"... How many tuts do you want?? The net is bulking with simple examples like you want, all you need to do is clicking, reading and learning...
quote:
Originally posted by dylan!
i dont know i dont know anything at all about this it was it my book and i cant find any online tutorials on it...
I pointed you earlier to the msdn library... Look up the FileListBox there and read about its properties like "ListIndex".
I'm sure even in your book there is info on how to get a current selected item of a list as this is something very basic to know.
And in the VB IDE if you type the name of the FileListBox control and put a point after it (to enter one of its properties) you also get a list of the available properties. Look them up!
PS: if you have a hard time doing VB stuff, I really really really suggest to get to the library and rent some beginners book and read it from the start and don't jump to things before you understand for 500% the previous pages. And thus follow each given example to the letter and experiment with it until you fully understand everything before you go to the next page...
Start by understanding and learning how to use the VB IDE (eg: to get a list of properties of controls, etc...) before you start to program.