OS: Windows 7 64-bit
Visual Studio: 2010 Proffesional
Can you please tell how in the window with a list of files in a project to remove the vertical scroll bar?
You don't. You need that to be able to see all of your files.
Related
In my Visual Studio IDE 2022 (not VSCode) I want to put windows (Tabs: Solution Explorer and Git Changes) like on the photo:
but in my case windows are pinned on the right side:
How can I fix it? Please help!
Click the tab on the right to open it. Then next to close there is a pin icon pointing to the right side. Click it, and it will stay open and move the tab with the name to the bottom.
I'm trying to find the System.Windows.Forms.StatusBar control in the ToolBox for a Visual Studio 2010 Windows Forms Project in Visual Basic. I cannot seem to see it. Is it somewhere in the "Common Controls" or "Containers" sections? I cannot see it. If someone can tell me what controls are to the top and bottom of it I would appreciate it.
Thanks
It's not there by default, because it's been replaced by the newer (and much nicer) StatusStrip control.
If you really need it, you can add it to any tab by right-clicking, then clicking Choose Items:
In Visual Studio, you are able to dock code windows in horizontal and vertical tab groups (something you can also do with tool windows).
However, when doing so you may end up with a lot of redundant screen space. What would be ideal would be if you could mix docking orientations for code windows. This is possible with tool windows in Visual Studio 2010. Here is an image showing the feature used for tool windows:
My question is: is it possible to get this same functionality with the code windows - i.e. being able to mix horizontal and vertical docking, like with the tool windows shown? I've heard rumours that its possible, but I've been unable to find any truth in that.
I too wish this was a naitive feature in visual studio, but there is one workaround by using the 'floating tab group' feature of visual studio
Move the visual studio main window out of the way (maybe to another monitor, or to smallest area of the monitor needed to see the tooling windows)
"Tear out" or Right Click > Float on the desired tab
Position the tab to your desire (I suggest using WinSplitRevolution, via codinghorror)
Repeat, note that you can move a tab to an existing 'floating' tab group
And voila!
There are some setbacks, some commands will pop up over the main tooling window instead of your current tab group etc. but its still pretty nice. I'm not sure if there's any changes coming in VS2012, but I haven't heard about anything related.
I don't want to change the entire background color of solution explorer in VS, only the selected file.
Hints?
Thanks.
Check out Tools > Options > Projects and Solutions, and then check off "Track Active Item in Solution Explorer". This will make whichever file you're viewing/editing inside of Visual Studio automatically be selected in Solution Explorer and if your Windows color scheme is set up properly, it will in fact be darker.
This option used to be on by default in 2003 and maybe 2005, but 2008 has it disabled by default now... I personally prefer it turned on.
HKEY_CURRENT_USER\Control Panel\Colors\ButtonFace is the registry key that sets the background color of the current file in solution explorer when solution explorer has not focus, this is what I found for Vs2010 and windows 7 - could not seem to find interface to modify the button face color in the gui. many things use this color, so I set just dark enough to see.
I have no idea why you want to do that in the first place, curious :)
Anyway, I doubt you can change the entire UI's background color depending on the type of file /editor mode.
You might find more clues from these:
Visual Studio - Fonts and Colors, Environment, Options Dialog Box
Changing your colors in Visual Studio.NET - Black versus White
How to increase your Visual Studio environment fonts for presentations?
As in the title. Is it possible? When I rightclick on Visual Studio in a Taskbar I have a "Recent" category there i have but 1 .cs file that I can pin.
Now the question is: what to do to pin a .sln solution there?
If you pin the VSLauncher.exe to the taskbar (drag it in) you will get recent projects and solutions on the right click menu.
You can find this exe in your program files / common files directory. Mine is in
C:\Program Files\Common Files\Microsoft Shared\MSENV\VSLauncher.exe
You can also do this by dragging a solution into the task bar (which does the same as the above). If you do this rightclicking it will show recent projects and solutions.
Hope this helps.
This is for Visual C++ 2008 Express Edition. You may adapt for other editions.
reg add HKCR\.sln\OpenWithProgids /v VCExpress.dsw.9.0
This is an old question, but I found a way avoid the drawback to the accepted answer that Vladimir Grigorov mentioned in a comment, that an additional VS icon shows up on the taskbar.
Instead of pinning VSLauncher.exe, pin
devenv.exe
(C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE)
to the taskbar.
Now drag your solution onto the VS icon in the taskbar. You should see a tooltip saying "Pin to Microsoft Visual Studio 2010".
Using this method will let you pin solutions to the taskbar without showing additional VS icons on the taskbar.
The VSLauncher.exe needs a solution or project path to do anything usefull. In the right click of the taskbar item you can right click the microsoft version selector and click properties. There you will then be able to give it a path by editing the target field. This will stop you getting the error.
This is all based on adding one solution to the task bar as per your question. I did not find a way of adding more than one!
Hope this helps.
To expand on karyonix's answer:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0]
#="Microsoft Visual Studio Solution"
"InfoTip"="prop:Size;Type;DocComments;Write"
"TileInfo"="prop:Type;DocComments;Size"
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0\shell]
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0\shell\Open]
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0\shell\Open\command]
#="\"c:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe\" \"%1\""
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0\ShellEx]
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0\ShellEx\IconHandler]
#="{9A2B23E4-2A50-48DB-B3C3-F5EA12947CB8}"
[HKEY_CLASSES_ROOT\VisualStudio.sln.9.0\ShellEx\PropertyHandler]
#="{9A2B23E4-2A50-48DB-B3C3-F5EA12947CB8}"
[HKEY_CLASSES_ROOT\.sln\OpenWithProgids]
"VisualStudio.sln.9.0"=""
Note the reference to Program Files (x86) - adjust if you're not running 64-bit Windows.
This adds Visual Studio 2008 to the "Open With" menu, and enables recent solutions in the right-click menu.
Just wanted to add to Blorgbeard and karyonix that this definitely works, and here's how I modified it to work with VS 2005 sln files:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.sln]
[HKEY_CLASSES_ROOT\.sln\OpenWithProgids]
"VisualStudio.sln.8.0"=""
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0]
#="Microsoft Visual Studio Solution"
"InfoTip"="prop:Size;Type;DocComments;Write"
"TileInfo"="prop:Type;DocComments;Size"
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0\shell]
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0\shell\Open]
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0\shell\Open\command]
#="\"D:\\Program Files (x86)\\Microsoft Visual Studio 8\\Common7\\IDE\\devenv.exe\" \"%1\""
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0\ShellEx]
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0\ShellEx\IconHandler]
#="{9A2B23E4-2A50-48DB-B3C3-F5EA12947CB8}"
[HKEY_CLASSES_ROOT\VisualStudio.sln.8.0\ShellEx\PropertyHandler]
#="{9A2B23E4-2A50-48DB-B3C3-F5EA12947CB8}"
Make sure you edit the command path correctly, because for 2005 the folder is Microsoft Visual Studio 8, not 8.0
I lost my pinned solutions after clicking solution from inaccessible drive. Here is how to fix:
Follow these steps
Restart explorer.exe process