I'm wanting to write the items in a listbox to a textfile. What's wrong with this line of code. I've been using Listview for so long, I forgot how to use Listbox!

VB Code:
  1. Print #l, lstCategories.Selected

I've already coded the looping part. Is it Lstcategories.index or what?