Disable WerFault.exe/"Application Has Stopped Working" crash dialog - visual-studio-2005

I have a development tool that's crashing on launch, and I don't get to see any error messages it throws, or get a chance to debug it, because it shows the Windows 7 dialog for crashed programs, where it says "Windows is checking for a solution..."
I want to have my old school big ass assert dialog box back, with a big "DEBUG" button. I have JIT completely enabled in Visual Studio's options and settings, so I'm not sure why I'm not getting the option.

Use Regedit, navigate to the below path:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\DontShowUI]
Create a DWORD and set the value to 1.

This blog post on raymond.cc contains an expanded version of the steps suggested in Krzysztof John's answer.
Quote:
Turn Off The Error Dialog Via The Registry
Although editing the registry manually is not recommended for average users, sometimes there isn’t a choice because something like the Group policy Editor might not be available in your version of Windows or the group policy method itself doesn’t work. This works on Windows Vista and above.
Open the Registry Editor by typing regedit into the Start search box or the Win+R Run dialog.
Navigate to the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting
Double click the DontShowUI entry on the right and change its value to 1, then close the registry editor.
. . .
The above registry fix will turn off the popup dialog for the current user, if you want the setting to affect all users on the computer then a similar registry key needs to be created in the registry at HKEY_LOCAL_MACHINE. This key isn’t present by default so needs to be created.
Read More: https://www.raymond.cc/blog/disable-program-has-stopped-working-error-dialog-in-windows-server-2008/

control panel -> troubleshooting -> change settings

In my case this solved same problem:
Control Panel\All Control Panel Items\Action Center\Problem Reporting Settings
set to "never check for solutions"

On my old Windows Vista Home Basic install, the option is hidden in a completely different place beneath the control panel:
Control Panel → Classic View → Problem Reports and Solutions → Change Settings → Advanced Settings → “For my programs, problem reporting is: [×] Off”

Related

QTP 11.0 Doesn't Recognize IE 8

My QTP 11.0 was recognizing IE 8 .one week before.Suddenly it stop recognizing.
It showing everything as Winobject. I unchecked enable protected mode also and all possible solution available in Internet.
Please help me if there is any other solution to it.
Check to make sure you are still loading the Web add-in module during startup of QTP/UFT.
IF UFT isn't asking you to double check during startup, then go into Tools > Options > Startup Options and check the box for "Display Add-in Manager on startup". then click OK, and completely close and restart UFT. It should ask you to verify your Addins again. Doublecheck that it is loading "Web", then uncheck the Show on startup box, and click OK.
One other thing to check is to make sure the test itself is using the Web Add-in. Right click a test in the Solution Explorer, and select Settings. Ensure the Associated add-ins list includes a checkmark next to "Web".
Note that I'm using 11.53, so could be differences
Always remember to open IE or other applications AFTER you open UFT/QTP first...

Change the default layout and properties of Powershell in Windows 8.1

I want to change the default layout of Window's Powershell so that it can expand to entire screen.
I tried from properties option.
But when I click the ok button, I am getting below error in Windows 8.1
Unable to modify the shortcut:
Check to make sure it has not been deleted or renamed
Settings get reflected even getting the above error, but it reset to its original settings after reopening of Powershell.
Edit the "Defaults" which is in the menu above "Properties". This will persist your changes even after closing and re-opening the window.
You should be looking at setting up your Powershell profile. The profile file is usually kept in your user location and contains, amongst other things, the settings for your Powershell session.
This should get you started: http://www.howtogeek.com/50236/customizing-your-powershell-profile/
And there's plenty of reading here on SO if you search for 'Powershell Profile'.

Project building but not debugging

I have been using VS 2013 for a month now and recently, ctrl+F5 has not been working. I can build the source file successfully, but when I try to debug, either using ctrl+f5 or f5 alone, All I get is a blank console.
I have repaired the installation but to no avail.
To my understanding, there are three possible diagnoses for your problem that you can attempt to solve.
1. You have an F-Lock key on your keyboard you have accidentally pressed.
Should this be the case, you should search whether your system does indeed have an F-Lock key and ensure that it is disabled accordingly.
2. You somehow have an incorrect keyboard mapping / incorrect settings in VS.
Go in Tools -> Options -> Environment -> Keyboard, select the drop-down for Keyboard Scheme and ensure that your keyboard mapping is correct (the f5 key is mapped to something). You can always also try resetting all of your keyboard settings here.
3. Your f5 key is broken?
Seems kind of ridiculous to say but there's always the possibility your actual key may be simply not working.
Hopefully this helps you get it working!
Two which I'd suggest for this would be, check the project properties launch settings "Start Action" if it's a web project.
Also to right click on the primary project you're trying to debug and "Set as Startup Project"

How to disable "show previous versions" in the Open File dialog?

I've got a program that's using an IFileDialog (standard Windows dialog) to open files. And on some computers, it all works as expected, but on others, the Open button has an arrow with a dropdown menu that adds a second option, "show previous versions".
A bit of research indicates that this is an OS thing related to System Restore, and it can be disabled by turning off System Restore entirely. But that would be using global state to manage a local problem. Is there any way to simply configure the dialog to not show the dropdown menu?

Eclipse's tab double click on Visual Studio?

On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).
Is there any way to do this on Visual Studio?
Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.
Are you after this?
Set shortcuts for the Window.AutoHideAll function and for the Window.ResetWindowLayout function. In order for the ResetWindowLayout to work, you have to export your settings (make sure you select "All Settings") with all windows expanded and then import them again.
ResetWindowLayout will restore all windows to the way they were the last time you imported your settings.
Not with double click on tab, but you can do the same with Shift+Alt+Enter key combination.
This keyboard shorcut was changed to F11 from 1.9.1 vscode version.
All keyboard Shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
I was looking for that, as well, and I now just got used to using full screen (Shift+Alt+Enter), which hides a little too much, which you seem to think, as well, but does in fact still show the menus.
Looks like drby got it on this one. Just FYI. I pinged the VS team to ask about this and here is the response:
"There is no way to reverse the command automatically. For it to work as a toggle we would need to save which toolwindows were auto hidden and which ones were not when the command was run, which we don’t do (it would cause lots of interesting persistence questions, across profiles and VS sessions)."
The idea of a "Unhide All" command is what I suggested. So if you hide all then you can unhide all as well. There might be some windows you don't want to unhide but the 1 or 2 extra windows is better than not having an unhide IMHO.

Resources