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

  • Home
  • SEARCH
  • 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 8167881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:20:34+00:00 2026-06-06T20:20:34+00:00

I found an article here: Winforms Textbox – Using Ctrl-Backspace to Delete Whole Word

  • 0

I found an article here:

Winforms Textbox – Using Ctrl-Backspace to Delete Whole Word

to delete the whole word in a textbox while holding ctrl+backspace, but I noticed that if you don’t implement the app.config modifications like so:

<configuration>
  <appSettings>
    <add key="SendKeys" value="SendInput" />
  </appSettings>
</configuration>

that only the current word will be removed and the process of backspacing will be interrupted. For instance, if I typed in “Tim tom” and then used the ctrl + backspace trick, “tom” would be deleted, interrupting any backspace operation and leaving “Tom “.

If you do use the app.config modification, however, “tom” would successfully be removed and backspace operations would continue, but without continuing to remove whole words, as if you were just holding the backspace button.

Does anyone know what causes this or how to fix it?

  • 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-06-06T20:20:36+00:00Added an answer on June 6, 2026 at 8:20 pm

    Your application is choosing a different behavior of sending keypress equivalents to the application.

    The historical exposition why the two protocols exist is explained here:

    The SendKeys class has been updated for the .NET Framework 3.0 to
    enable its use in applications that run on Windows Vista. The enhanced
    security of Windows Vista (known as User Account Control or UAC)
    prevents the previous implementation from working as expected. The
    SendKeys class is susceptible to timing issues, which some developers
    have had to work around. The updated implementation is still
    susceptible to timing issues, but is slightly faster and may require
    changes to the workarounds. The SendKeys class tries to use the
    previous implementation first, and if that fails, uses the new
    implementation. As a result, the SendKeys class may behave differently
    on different operating systems. Additionally, when the SendKeys class
    uses the new implementation, the SendWait method will not wait for
    messages to be processed when they are sent to another process.

    The timing issues mentioned here concern especially continued control of application by characters, not just one character at a time. They include

    • difficulty in synchronizing typing rate
    • making sure that the right window receives the input when the app is opening dialogs
    • making sure that the right app receives the input even when the user meddles with close buttons

    However, the real reason between the SendKeys behavior change was not programmer friendliness (which did not improve significantly), but security.

    It is definitely a good idea to set the SendKeys parameter to specify the desired behavior. You don’t want your application to mysteriously start behaving differently just because UAC was turned on or off.

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

Sidebar

Related Questions

I found the following article : here about installing fonts on a Windows computer
I found this on net in google search and see article here: http://www.thatcssguy.com/limit-your-divs/ See
I found this article here: Quantifying the Performance of Garbage Collection vs. Explicit Memory
I found an article on image processing from here: http://www.switchonthecode.com/tutorials/csharp-tutorial-image-editing-saving-cropping-and-resizing Everything works fine. I
I found this article here on how to deregister styles in wordpress. techotronic.de/how-to-de-register-style-sheet-wordpress/ Pretty
I read an article here and I used the principles found there to write
I found a perl script that manages randomizing the wikipedia articles in Wikipedia here
I found something that works with updating one field at here: http://www.karlrixon.co.uk/articles/sql/update-multiple-rows-with-different-values-and-a-single-sql-query/ UPDATE person
I found cool article on Creating cross platform GUI's with IronRuby where someone re-created
I found this article on how to manipulate the rendering sequence of asp.net controls.:

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.