01-23-2011, 09:53 AM
You can't give up on this method! <!-- s --><img src="{SMILIES_PATH}/icon_razz.gif" alt="" title="Razz" /><!-- s -->
(Try this for saving the listbox)
Then when you load the listbox, say (Add this to your code)
I'm pretty sure this will work, sorry for all these troubles <!-- s:o --><img src="{SMILIES_PATH}/icon_e_surprised.gif" alt=":o" title="Surprised" /><!-- s:o -->
(Try this for saving the listbox)
Code:
Dim writer as new system.io.streamwriter(my.application.info.directorypath + "/settings.ini")
for each item in listbox1.items
writer.write(vbNewLine + item)
next
writer.close
writer.dispose
Then when you load the listbox, say (Add this to your code)
Code:
Listbox1.items.removeat(0)
listbox.items.removeat(0)