none
special key to stop a program

All replies

  • One approach would be to launch a thread whose sole purpose is to wait for that sequence of characters to be typed. If "TOM" is keyed in, then it signals the main thread to shut down.

    The implementation will depend on what language and what framework you are using, which you haven't mentioned.

    Thursday, November 12, 2015 4:02 PM
  • Hi TomVos,

    This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.

    I'm afraid that it is not related to visual studio IDE, to redirect you to the correct forum, some clarifications with you:

    (1) What is your project type, windows form, wpf, asp.net or others?

    (2) Which language do you use, C#, vb, C++ or others?

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Friday, November 13, 2015 5:58 AM