Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 222389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:07:21+00:00 2026-05-11T19:07:21+00:00

I have an application with a lot of TextBox controls that use autocomplete. Each

  • 0

I have an application with a lot of TextBox controls that use autocomplete. Each one uses AutoCompleteMode.CustomSource to get the autocomplete text from an associated AutoCompleteStringCollection.

Whenever the user enters a new value in the TextBox, it gets added to the associated AutoCompleteStringCollection, and at the end of the session all of those collections get persisted to a file in the user’s home directory.

The problem is that there’s no way to correct errors in those collections. In IE, input controls with autocomplete controls let you scroll to an item in the autocomplete list and press Del to remove it. That doesn’t work in the .NET controls.

I’d really like to avoid having to implement my own UI for this. Am I stuck? Is there a way to enable this that I’m not seeing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T19:07:22+00:00Added an answer on May 11, 2026 at 7:07 pm

    Out of the box, no there’s nothing to do this for you unfortunately. I tried P/Invoking the basic FindWindowEx / EnumChildWindows to see if I can get a Handle to the actual drop down, but was unsuccessful (if someone does manage to pull this off, let me know!). The good news is (not so good, but not terrible) that the auto complete isn’t actually something you completely have to implement yourself, there’s actually a Win32 function called SHAutoComplete that can be P/Invoked to help you with the auto completion. Don’t get too excited yet, because it’s not as simple as just P/Invoking it and be done with it. However, there’s a great CodeProject article that should help you out tremendously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use Jquery Autocomplete in my mvc3 application. I have a lot of textbox,
I have a php web application that uses big cookies to store a lot
I have an application with a lot of database relationships that depend on each
I have an application which contains lot controls (i.e Buttons,text boxs ,etc..). i want
So I have an application that stores a lot of text in a text
I have a legacy application that I inherited that passes a lot of XML
I have a lot of entities in application and I use JPA implementation for
We have our application designed with Solr, our users use lot of pages to
I have application that generates a lot of numbers and writes them to table
I have an application that does a lot work on S3, mostly downloading files

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.