Component/method for text searching

Posted on 2007-08-08
Last Modified: 2013-11-26
I am looking for any component/algorithm/method which i can use in my VB2005 application for quick Text searching from a Text file.
Right now i am using some typical functions like string comparison and seek but their response time is too much.I want to search the text with every letter the user type in without causing so much burden to the processor.
Please do guide me in this matter.

Question by:SHFDEV
    LVL 96

    Accepted Solution

    How about using a RichTextBox to load the text file, and using the Find method?

    LVL 6

    Assisted Solution

    How about sorting the text file with the words
    and than you can perform binary search on each text changed event.
    LVL 84

    Assisted Solution

    LVL 84

    Expert Comment

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now