Results 1 to 2 of 2

Thread: auto complete a text box

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2003
    Location
    Connecticut
    Posts
    257

    auto complete a text box

    How can I create an auto complete feature for a textbox so as the user starts typing, the closest match from a datatable or dataview will display after each keystroke until a match is found/not found?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: auto complete a text box

    After 149 posts there's no excuse for not specifying your version when starting a thread. If you're using VB 2005 then that functionality is already built into the TextBox. If you're using an older version then there are multiple examples posted on the Net. Try The Code Project for a start. If by some act of God you can't find what you need there then Google.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width