darma teja

darma teja

  • NA
  • 496
  • 336.3k

load words from text file to listbox

May 16 2012 8:22 AM
Hi,

I loaded the data from database to listbox in my form.  (every time it retrieves different number from the database) 

now my listbox contains items as follows: (1st time:)

1021
1022
1023

later my listbox contains like this:

1021
1023


I have a text file like this: (I have almost 1000 rows here i am giving you only 3 rows)

1021 darma

1022 teja

1023 vulpes 


Now i want to change my listbox numbers as follows:

1st time listbox should show like this:
darma
teja
vulpes

2nd time listbox should show like this: 

darma
vulpes

Give me ideas to do.


Thanks allot 

Darma



Answers (6)