I try to storage from listbox the Items Collection in a file... but i don't have any idea how to do this. Can somebody help me.
Yo mamma Osama...
Dim SW as StreamWriter Dim FS as FileStream FS=New FileStream("C:\Items.txt", FileMode.Create) SW=New StreamWriter(FS) Dim itm as Object For Each itm In Listbox1.Items SW.WriteLine(itm.ToString) Next SW.Close FS.Close -------------- Hope to help
Things go better with rock
Example here also : http://www.vbforums.com/showthread.p...hreadid=242778
Forum Rules