How do I print the screen layout in Visual Studio 2012 (Windows Forms) - visual-studio

I have a complex form that I created in Visual Studio 2012; I want to print out that form exactly as it shows in the designer using Visual Studio 2012 (not while the program/form is running). Is this possible?
I know I can just do a screen shot, but I will need to be doing this quite often and would prefer a simple, direct way to do this.

I'm not sure if there's anything within visual studios that does exactly what you're suggesting.
I would definitely recommend snagit. We use it at work quite a bit when putting together internal documentation.
http://www.techsmith.com/snagit.html
You just click and drag and it saves everything in one location. You can also do a quick click on the title bar of the vs window and it will save a screenshot of everything within that window. It's a lot easier than constantly pressing the print button and then pasting it somewhere.
Or you could write your own program that does exactly what you need it to do.

Related

How do I pin a tabbed document in Visual Studio 2010?

Is there any way to "pin" a document into a fixed position? I want to keep the "Source Control Explorer" tab on the far left and always open new documents to the right of it.
However, VS 2010 tends to add documents at the very left. I want "Source Control Explorer" on the very far left so I always know where to find it.
I can think of two different ways of doing this. The first one uses only options that are built into Visual Studio 2010 but is more limited and may not work 100% of the time. The other one requires that you install an extension, but is much more powerful, dependable, and even adds some other useful features.
You can configure Visual Studio to always open new tabs to the right of existing tabs, just like a web browser would. (Personally, I prefer this option.) To do this, open the options dialog (Tools → Options), expand the "Environment" category, click on "Documents" and check the "Insert documents to the right of existing tabs" box (see screen shot).
The key to making this work for you is to ensure that you always open the Source Control Explorer first before opening any other code windows, and then never close it. That way, it will always be on the far left, and all of the code windows you open will be inserted to the right of it.
Like I mentioned above, the advantage of this approach is that it uses a setting built into Visual Studio and doesn't require that you install anything extra. All you have to do is flip a switch. The disadvantage is that it isn't 100% dependable—if you close the Source Control Explorer and re-open it, you'll have to remember to drag it back into position at the far left or it won't be there when you go to look for it.
You can install Microsoft's Productivity Power Tools extension (available from the Visual Studio gallery), which adds the ability to pin tabs (among lots of other neat features) to the VS IDE. There's a great run-down of the features added specifically to the document tab well here, but the feature you're most interested in is pinned tabs. You can even show pinned tabs in a separate row!
This is as close to a perfect solution as it gets, but it does have the disadvantage of requiring you to install something extra. In some environments and for some people, that can be a deal killer. Too many extensions can also slow things down, and later versions of Visual Studio often seem to be slow enough already. (Though, for what it's worth, I use the PPT extension on about half of my VS installations and I haven't noticed that it has caused any significant issues.)

Visual Studio 2012 Keyboard Freezing

I am having an issue within the razor view in Visual Studio 2012. For some reason, most of the time when I am trying to edit a style property, my keyboard freezes and doesn't allow me to type anything.
<section style="height: 15[Try to edit here]">
For instance, trying to add in a zero or 'px' where the "Try to edit here" has been placed above is impossible as the keyboard freezes.
I have ReSharper 7.1 installed, I'm not sure if that is the culprit?
Closing the tab and re-opening it fixes the issue, but it then re-occurs later on (not sure if there is a pattern as to when it re-occurs)
This happens to me often. I just switch tabs and come back and it doesn't happen(for sometime of course :-)). It could be some kind of unresolvable bug although i would suggest that you uninstall ReSharper and try again to see if it gets fixed.
It happens to me and my other colleagues as well.
I have found it to be linked to having a floating code window(s). Unlike the floating window for something like Find Results (without a title bar), these appear almost like another instance of Visual Studio. These do not come to the front when the main Visual Studio Window is selected. I have found the keyboard stops responding only on these windows if there is a Find Results kind of floating window open. When the problem occurs, clicking on another VS window and come back sorts it.
In earlier versions of VS, any pulled code windows appeared without a thick title bar and window controls box.
I tried posting images of the two kinds of floating windows but don't have enough reputation to do so! Let me know if it is confusing and I'll try to clarify.
This may not be the only way for this problem to occur but this is what I've observed consistently in the last few weeks of using Visual Studio 2012. I have C# environment settings with Resharper 7 and Reflector installed.

Better editor for customizing VS 2010 menus?

Can't STAND the editor for configuring Visual Studio 2010's environment menus. It's soo freaking tedious now! Just try creating a sub-menu, or even adding several commands to your own toolbar. You have to do it one. Command. At. A. Time. closing the command window each time, then losing your place and having to start over again.
Does anyone know of any add-in or extension that lets you actually drag-drop menus and commands so you can more easily set up your enviro the way you want?
Right now, it's such a pain that half the time I just don't even bother.

How do I get my normal Find/Replace window back in Visual Studio 2010?

I have no idea what prompted this, but now in VS, I have a horrible find/replace window that pops up and rarely even works. How do I get the normal one back?
You have installed the Pro Power Tools. I can tell from your file tabs. Under Tools, Options, you can control individual pieces of the pack. Turn off the Quick Find.
You might need to scroll to get to it.

How to place code snippets within Visual Studio 2010 Toolbox window?

I've really enjoyed Anders Hejlsberg presentation at BUILD 2011 and it's not the first time that I notice someone having a collection of code snippets available within Visual Studio's Toolbox window, so given that all the searches I've performed so far pointed me to how to deal with IntelliSense snippets, I was wondering if anyone knows how to achieve this?
You just need to copy the code to the toolbox. A simple selection of the code, and a drag and drop to the toolbox just make it available. It will not be deleted until you delete it (at least that never happens to me by itself)..
This is what you need?

Resources