Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 12th, 2004, 3:28 PM   #1
VbNewPerson
Newbie
 
Join Date: Dec 2004
Posts: 2
Rep Power: 0 VbNewPerson is on a distinguished road
Hi all. What I have is 5 different listbox's next to eachother. The information in each listbox entry makes a row. For example,

ListBox1 ListBox2 ListBox3 Listbox4 ListBox5
Steve____Jones____21___price____street
Ann_____ Thomas__56___cliff_____street

I need to be able to loop through the listbox's and write the contents of them to a txt file (notepad) and in the right order (there will always be the same number of entries in all listbox's). Something like:-

Steve
Jones
21
price
street
Ann
Thomas
56
cliff
street
etc

I also need to be able to then open an existing txt file and read back the data and write them to the listbox's correctly, working backwards basically. This has me some what stuck, so any help would be appreciated.

cheers
VbNewPerson is offline   Reply With Quote
Old Dec 12th, 2004, 3:41 PM   #2
Overmind
Professional Programmer
 
Overmind's Avatar
 
Join Date: Jun 2004
Location: South Africa, Johannesburg
Posts: 301
Rep Power: 5 Overmind is on a distinguished road
HERE
That should do it . simple google search...
That just shows how to read and write from files.
__________________
[SIGPIC][/SIGPIC]
Overmind is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:46 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC