Apr 28th, 2003, 09:37 PM
#1
Thread Starter
Fanatic Member
How can you load and save contents of a listbox in vb.net?
Apr 28th, 2003, 11:01 PM
#2
Sleep mode
Loop through all the items in the listbox then write them using streamWriter object .
Apr 28th, 2003, 11:21 PM
#3
Thread Starter
Fanatic Member
gaa?
do u have any sample code =)?
Apr 28th, 2003, 11:24 PM
#4
Sleep mode
It sounds easy . Hold on I will build a sample for you.
Apr 28th, 2003, 11:34 PM
#5
Sleep mode
Attached Files
Apr 28th, 2003, 11:36 PM
#6
Sleep mode
Little note , it creates new text file in the C: partition and read from there .
Apr 28th, 2003, 11:51 PM
#7
Thread Starter
Fanatic Member
thank you very very much!
Apr 28th, 2003, 11:53 PM
#8
Sleep mode
Apr 29th, 2003, 01:00 AM
#9
Addicted Member
i posted some code here that could easily be usedd for listbox....i used it with listview....i believe there is import....export....and multi-delete codes in there.....
http://vbforums.com/showthread.php?s=&threadid=242250
AcE
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width