Re: Dictionary / Listbox
- From: "tranthongdl@xxxxxxx" <thongt@xxxxxxxxxxxxx>
- Date: Sat, 26 Nov 2005 14:43:14 +0700
Hiiiiiii
"Microskills" <Microskills@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:323E81DA-635B-4DF9-9912-A95EE6A8235E@xxxxxxxxxxxxxxxx
> 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;
>
> --
> One day the lies will crumble away of themselves and truth will triumph
once
> more.
.
- Prev by Date: Re: ESC and validation - SOLVED
- Next by Date: Re: hi
- Previous by thread: hi
- Next by thread: '(500) internal server error' as webexception
- Index(es):
Relevant Pages
|