Key Chord not being passed to VSIX


  1. Posts : 4
    Windows 10 Pro 64-bit
       #1

    Key Chord not being passed to VSIX


    Hi,

    I have a VSIX extension for Visual Studio 2017 (Community edition) that uses a set of bound key chords to activate the functions within it. I am running that on Windows 10 Pro, 1909, 64-bit.

    A few days ago, for whatever reason, one of the key chords that I have bound to a function in my VSIX extension is not getting passed through. The function is bound to the chord SHIFT+ALT+CONTROL+D. I went to OPTIONS > PRESS SHORTCUT KEYS, and it did not react to the key chord when I pressed it (it did not show the function that is bound to it).

    I have a WinForms app that reads the keys pressed on a textbox, via KeyEventArgs, and displays the status of the keyboard (whether or not control, alt, and/or shift is held down), along with the scan code for the key pressed. This is a link to the app:

    Keyboard_Scan_Codes_01 - Google Drive

    It does not react. It does not give the code for SHIFT+ALT+CONTROL+D on my development system. I ran the app on a few of my other systems (all running Windows 10), and the chord does, indeed, trigger the proper reaction on those other systems by my WinForms app, and all is well on them. That being the case, I am assuming that the problem is not actually with Visual Studio 2017 itself, but something within Windows 10 - perhaps intercepting that particular key chord.

    I have this issue posted to the Visual Studio forum. So far, I've not had any suggestions. I'm thinking that I am just as likely to get assistance in this forum as I would there.

    How would I determine why that particular key chord is not being sent to my VSIX (or my app)?

    My development system is running Windows 10 Pro, version 1909, build 18363.900, 64-bit.

    Any assistance with this would be appreciated.


    Operating System
    Windows 10 Pro 64-bit build 1909

    CPU
    AMD Phenom II X4 965
    Deneb 45nm Technology

    RAM
    8.00GB Dual-Channel DDR3 @ 530MHz (8-8-8-20)

    Motherboard
    ASUSTeK Computer INC. M4A89GTD-PRO/USB3 (AM3)

    Graphics
    Generic Non-PnP Monitor (1280x1024@60Hz)
    368MB ATI Radeon HD 4290 (ASUStek Computer Inc)

    Storage
    931GB TOSHIBA HDWD110 ATA Device (SATA)

    THANKS!
      My Computer


  2. Posts : 381
    Windows 10
       #2

    A couple of questions:

    1. Any new software installations recently? Something could be interfering with the chording functions.
    2. Have you considered moving to VS 2019 Community? That may help (or not)
    3. What keyboard are you using? And are your drivers up to date for it?
      My Computer


  3. Posts : 4
    Windows 10 Pro 64-bit
    Thread Starter
       #3

    Gurn Blanston said:
    A couple of questions:

    1. Any new software installations recently? Something could be interfering with the chording functions.
    None that I can recall. There was an update to Windows 10.

    Gurn Blanston said:
    2. Have you considered moving to VS 2019 Community? That may help (or not)
    Unfortunately, my VSIX will not work in VS 2019 without making some significant changes, as Microsoft has made changes in the way extensions load. I'd rather not have to tackle that problem in the near future. I don't see how that would help anyway, as the WinForms app is not getting the chord either, which leads me to the conclusion that the problem is not really with Visual Studio.

    Gurn Blanston said:
    3. What keyboard are you using? And are your drivers up to date for it?
    I'm using an old Monorail keyboard (PS/2) that I've had for something like 20 years. I tried plugging in a newer keyboard (USB), and it did not make any difference. Neither VS2017, nor my little WinForm app, will react to the key chord.

    THANKS for the reply, Gurn!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:11.
Find Us




Windows 10 Forums