01-20-2011, 09:33 PM
This code should work for ya.
Code:
Dim writer as new system.io.streamwriter(my.application.info.directorypath + "/settings.ini")
for each item in listbox1.items
writer.write(item + vbNewLine)
next
writer.close
writer.dispose