Dictionary / Listbox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am a new VB.NET programmer. I am writing a dictionary program with a
Dictionary file has over 60000 entries.
When user starts typing a word in the searchbox, I want to show words that
start with the text in the search box. For example if user enters GA lstbox
will show

GAB
GABARDINE
GABLE
...
...
...

End if he types GAD listbox will show
GAD
GAD ABOUT
GADFLY
....
....
....

I also provide user ability to use arrows so that he can move in the listbox
up and down and go through every word in the dictionary. That means 60000
words.

First I tried to load 60000 words into listbox but it takes too long for
program to start [6-8 secs] when you compare it commercial products like
lingvosoft which provides 400,000 words and loads in less than 3 seconds.
This method also consumes lots of memory where linvosoft's product consumes
only 3-4 megs.
[Another good example is Microsoft Encarta where encyclopedia entries in a
listbox change dynamically as user types in the seachbox. User also can
navigate in the listbox with more than 80,000 items]

How can I achive this?

Another thing is that I dont want to use textfile or Access DB for entries.
Is there any other format that I can use to get data faster than above
mentioned file types?

Note: Link and book suggestions are also welcomed.

Sincerely;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top