Re: Dictionary / Listbox

Tech-Archive recommends: Speed Up your PC by fixing your registry



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.


.



Relevant Pages

  • Re: Listbox / Database Question
    ... I am writing a dictionary program with a ... > Dictionary file has over 60000 entries. ... > End if he types GAD listbox will show ...
    (microsoft.public.vb.general.discussion)
  • Listbox / Database
    ... I am writing a dictionary program with a Dictionary file has over ... End if he types GAD listbox will show ... I also provide user ability to use arrows so that he can move in the listbox up and down and go through ... [Another good example is Microsoft Encarta where encyclopedia entries in a listbox change ...
    (microsoft.public.dotnet.languages.vb)
  • New Shareware: MyIdeasJournal version 1.1
    ... MyIdeasJournal is a database program that you can use to capture ... Searching for entries by subject is also very easy and fast. ... listbox item. ... you are either in Search mode or in Browse mode. ...
    (comp.software.shareware.announce)
  • Re: Max number of items in a listbox?
    ... >> ListBox as sort of an event log. ... >> limiting the number of entries that can accumulate in this listbox ... >Sub AddLogEntry ...
    (microsoft.public.vb.general.discussion)
  • iterating over arrays with map - problem
    ... stumbling a bit trying to iterate over my dictionary file to generate ... containing the single word "password", I get around 4,000 entries, most ... like it to generate (for each word in the dictionary file) all possible ...
    (comp.lang.perl)