Visual Basic

From IT Wiki
Jump to: navigation, search

Comment blocks

In Visual Studio you can use the keyboard shortcuts that will comment/uncomment the selected lines for you:

  • Ctrl + K + C to comment
  • Ctrl + K + U to uncomment

Reset settings

For Visual Studio 2013, to reset the settings for Visual Studio go to Windows > Programs > Visual Studio 2013 > Visual Studio Tools.

In the File Explorer window that opens, choose Developer Command Prompt for VS2013.

Then enter the following at the command prompt and hit enter:

devenv /resetuserdata

Although the one below may not work, you may need to also need to enter:

devenv /resetallsettings

If devenv /resetallsettings does not work, it is not necessary to reset Visual Studio.