Get Visual Studio 2012/2013 to ignore multimedia keys [duplicate] - visual-studio

I've got iTunes running and the media buttons on my computer work with it. I've installed mmkeys.dll which has been recommended for making iTunes work with media keys in the background and it works fine with all apps - firefox, thunderbird, MSN messenger, Open Office.
But when Visual Studio 2008 is in the foreground the buttons stop working. Can't hit pause when the phone rings.
Any ideas?

This is probably due to Visual Studio running as an Administrator, and whatever software controls your keyboard media buttons OR the media player itself does not run as admin.
As I was answering this question I decided to try opening iTunes as an administrator, and that solved the problem for me.
To make a program always open in admin mode:
Right click the program and select 'Properties'.
Select the 'Compatibility' tab.
Under 'Privilege Level' at the bottom, check check box 'Run this program as an Administrator'.
After you run & close the program for the first time with these settings, make you you tell it that the program worked correctly so that it will keep these settings.

Are you sure that those keys arn't mapped to some action in Visual Studio? A lot of the "media buttons" that I have seen really do key combos so Play might be Ctrl + Alt + P (I don't know any specific key values I'm just recalling the generic pattern I remember). You should be able to check this by going into Visual Studio -> Tools -> Options -> Environment -> Keyboard. Select the "Press Shortcut Keys" text box then hit one of your media buttons. You will see a command become visible in the drop down below this text box showing what command it mapped to that combination.

Related

Switching documents in VS2010 with Ctrl-Tab needs return

When switching between documents in VS2010 with Ctrl-Tab, the document switch window doesn't disappear until I've pressed tab multiple times to select an entry and then hit return. I'm sure that it didn't need the return previously: that the window only stayed up as long as you held down Ctrl and then when released it switched to the currently selected document. This is really annoying if you want to just hit ctrl-tab quickly to go to the last document.
I do have a few Extensions installed including Productivity Power Tools, Power Commands and VSVim, and I've also installed a couple of tools for investigating accessibility (NVDA, UIA Verifier in the platform SDK), so it's possible that one of these may have somehow changed the options.
So, my questions are:
Is the default behaviour of VS2010 that the document switch window only works while the Ctrl key is held down, or is my memory faulty?
If the default behaviour is as I remember, how do I get back to that?
I think this turned out to be an accessibility setting that was in a half-enabled state. In the Windows Accessibility settings I toggled the state of Sticky Keys a couple of times and now it's working correctly again.
This has just happened to me, and after some googling I found the solution: it was really the magnifier application I ocassionally started by pressing Win + Grey Plus. Once I have closed it the Visual Studio just worked fine without restart.
Regarding point 2.
Go to Tools : Import and Export Settings. You can then choose to reset the default environment settings again.
Also ensure than it's not an 'add-in' providing functionality different to that you expect.
Same behaviour with VS2012: when the Magnifier application is open (e.g. by pressing Windows logo key‌ + "+" (plus sign)) this behaviour occurs even if the magnification is set to 100%.

Why does Visual Studio disable the media buttons?

I've got iTunes running and the media buttons on my computer work with it. I've installed mmkeys.dll which has been recommended for making iTunes work with media keys in the background and it works fine with all apps - firefox, thunderbird, MSN messenger, Open Office.
But when Visual Studio 2008 is in the foreground the buttons stop working. Can't hit pause when the phone rings.
Any ideas?
This is probably due to Visual Studio running as an Administrator, and whatever software controls your keyboard media buttons OR the media player itself does not run as admin.
As I was answering this question I decided to try opening iTunes as an administrator, and that solved the problem for me.
To make a program always open in admin mode:
Right click the program and select 'Properties'.
Select the 'Compatibility' tab.
Under 'Privilege Level' at the bottom, check check box 'Run this program as an Administrator'.
After you run & close the program for the first time with these settings, make you you tell it that the program worked correctly so that it will keep these settings.
Are you sure that those keys arn't mapped to some action in Visual Studio? A lot of the "media buttons" that I have seen really do key combos so Play might be Ctrl + Alt + P (I don't know any specific key values I'm just recalling the generic pattern I remember). You should be able to check this by going into Visual Studio -> Tools -> Options -> Environment -> Keyboard. Select the "Press Shortcut Keys" text box then hit one of your media buttons. You will see a command become visible in the drop down below this text box showing what command it mapped to that combination.

Visual Studio & SQL Management Studio: How to revert Ctrl+Tab behaviour to normal after using Microsoft Narrator?

By default, in Visual Studio and in SQL Server Management Studio, Ctrl+Tab opens a navigation popup which lists all the open windows. The idea is that you can press Tab multiple times while keeping Ctrl pressed; as soon as you release Ctrl, the navigation popup disappears and the selected document is activated.
Unfortunately, as soon as you ever run Microsoft Narrator (text-to-speech reader), this behaviour changes. The popup no longer disappears when you release Ctrl; it waits until you press Enter to select a document. While I can appreciate this behaviour may be reasonable for blind people who are actually reliant on Narrator, I find it rather irritating that the behaviour has changed permanently and that the old behaviour doesn't return even if I stop using Narrator completely.
Is there any way to restore the old behaviour so that it doesn't wait for an extra Enter keypress anymore?
Be patient and it magically starts reverting to normal after not using Narrator or Speech Recognition for a month or so.
I know this is old, but still an issue with SQL Server Management Studio (SSMS) 2008 when Speech recognition is running on Windows 7 (32bit Ultimate).
Worse yet, there is no fix per se. As a workaraound, I exit Speech Recognition, and then ctrl-tab behaves as expected.
I saw a post for changing Narrator settings, but none of the settings in Narrator (text to speech) have any effect on the issue.

Internet Explorer 8 Developer Tools not displaying

Within the last day, in Internet Explorer 8, the developer tools window will not show up.
When I hit F12 or use menu Tools -> Developer Tools I get the Developer Tools entry in the Task Bar but the actual window will not show up.
It has been running fine for a month or so. I have tried rebooting with no luck.
How do I get a window back on the screen when it moved far, far away?
From the article:
Switch to the application, say by clicking on its taskbar button or by
Alt+Tab'ing to it. Then type Alt+Space to call up the System menu: You
should get a window floating at the edge of the screen. Type M to
select Move, then press an arrow key to enter Move mode.
Additional remark by #WebSolProv:
It would appear that something happens with IE that causes the developer tools window to be shrunk to the height of the header bar and width of about 2 inches. By using this solution you can then move the the window into view and enlarge as usual.
If you are on Windows 7, Windows Key + Up Arrow Key will maximize the window.
Not related to the window issue, but in some companies, this could be due to policies. In such cases, at least for me, it worked after modifying the registry like this
HKEY_LOCAL_MACHINE > SOFTWARE > POLICIES > MICROSOFT > INTERNET EXPLORER > IEDEVTOOLS
and then modifying the DISABLED value to 0, which was 1 for me previously.
I had same problem on Windows 7 when I went back to single monitor setup after having a dual monitor setup.
Use the Windows 7 keyboard shortcut for moving windows around the screen. You may need to repeat the same combination twice.
Windows Key + Left Arrow
or
Windows Key + Right Arrow
Deleting some registry keys worked for me. Try running this in a prompt
reg delete "hkcu\software\microsoft\internet explorer\iedevtools" /v windowpos
Select by Developer Tools window by ALT+TAB then press ALT+SPACE to show window menu and select Maximize or type 'X' character. The Winow will Show UP.
If the window is off page and out of reach by the cursor you can always right click the program in the task bar, click Move then you can use the arrow keys to move the window back into view
For me the menu item 'tools > developer tools' and F12 would not do anything, however the command bar 'tools' dropdown worked as well as the command bar icon.
Run IE and hit F12 , window appears in taskbar.Right click on taskbar and select maximize. vola!! it will appear

Visual Studio Freezing/TFS Window Might be off screen

I am using Visual Studio 2005 with Team Foundation Server.
When I right click a file under the source control and choose "compare" VS appears to freeze until I hit escape. My guess is that the window that is supposed to be popping up is somewhere I can't get to. I tried minimizing all the windows that I can and it is nowhere to be found.
Try the keyboard shortcut to get to the window's main menu () then hit 'M' for move and hit an arrow key to attach the window to the mouse - then at the next move of the mouse it should jump to it.
Experiment with a window you can see first.
i had the same problem when trying to check in to TFS - no dialog and ESC escape key undid the freeze.
I had recently, before the problem, changed my Laptop + Monitor configuration as follows:
from Primary screen being the laptop and secondary screen being the monitor
to primary screen being the monitor and secondary being laptop.
I got rid of my secondary screen and tried again. SUre enough the invisible dialog was no longer invisible.
I had to disable my Second Screen as well. Now the check-in screen where you can add a comment IS visible.

Resources