Open Visual Studio Integrated Design Environment - vb.net

I somehow managed to close the visual design tab of my project where you drag component from the toolbox to. I've tried every view I can think of. I'm using Visual Studio 2013 if anyone can tell me how to re-open the design view(not the code) that'd be great as I don't know my way around every aspect of visual studio.

When you right-click the "FormName.vb" file in Solution Explorer, you can click "View Designer." Alternatively, you can click "Open With..." and choose Visual Basic Form Editor from the list.

Try using XXX.Designer.cs from your Solution Explorer
hope it'll help

Related

How to make the style of a MenuStrip like that of the MenuStrip in Notepad? (VB.NET)

and I was wondering if there was a way to get this style of MenuStrip:
in a WinForms application, instead of this style:
I've already tried browsing through the different appearances Visual Studio offers, but I think it might be the version of the .NET framework I'm using, which is 4.5, I'm fairly certain.
Edit: Sorry, I should have said this before, but I'm using Windows 7 and Visual Studio 2010.
I've found the solution. Just simply replace a MenuStrip with a ToolStrip, and but the RenderMode property to "System". I feel rather silly now heh
I found the solution.Right click on toolbar and click Choose Item.Now select .Net Framework click Main Menu.
Now use it. But I have windows 7 and visual basic 2010 express...

Change Visual Studio Developer Profile

Within Visual Studio there used to be, and I'm sure there still is an option to say what kind of developer you are. I would check 'a crap one' but that was not an option so instead I would go for something like "c# web".
The advantage of this is then every new project defaults to C# / Web.
Now in Visual Studio 2013 everything is defaulting to VB.Net and I want to set up VS to be as above "c# web". I cant remember what "it" - this IDE profile option - was called.
I've been through Tools>Options but cant see for looking.
Goto
TOOLS / Import and Export Settings...
Click "reset all settings"
It will ask if you want to backup your current settings.
finally, you can select the profile you are after.

Visual Studio 2013 close all Tool Windows

I would be delighted, elated even, if someone could tell me how to close every tool window in Visual Studio 2013 in an automatable fasion. Solution Explorer, Output Window, and Toolbox are all examples of the countless tool windows that can accumulate on my screen. I'm using Autohotkey to try to close them, but it has become impossible to do through blind keyboard shortcuts (AFIK.)
I'm not opposed to a plugin but something with just the keyboard would be ideal.
Thanks so much!
If you want to do it with Autohotkey, take a look at WinClose as MCL suggested. You might also need SetTitleMatchMode.
I'm still using Visual Studio 2010, but with some minor adjustments it should also work in Visual Studio 2012:
SetTitleMatchMode, 2 ;No need to enter the full title
Enter:: ;press enter to close all tool windows
WinClose, Microsoft Visual, Find and Replace
WinClose, Microsoft Visual, Solution Explorer
WinClose, Microsoft Visual, Class View
WinClose, Microsoft Visual, Property Manager
;...
Sleep, 1000
Return
Esc:: ;Use Esc to exit the script
ExitApp
Use "AU3_Spy.exe" form your Autohotkey folder to find the WinTitle(part) and some visible text.
Layouts-O-Rama is my take on the problem. To be found in the vs gallery here:
http://visualstudiogallery.msdn.microsoft.com/35966ad9-430f-4ad7-9186-4394b784e36c
Basically the addin saves tool window layouts. You could simply save a layout with all tool windows closed and assign a hotkey to it. To go even further you could save another layout with all the tool windows you like opened and assign a different hotkey to this.

View Designer Code in Visual Studio 2010

What is a standard way to open the Designer (automatically generated) code for a VB file?
As a workaround, I can get to it by searching the entire solution for some keyword that is usually only found in those files: Global, Partial, etc.
Open the Solution Explorer. Along the toolbar at the top there is a tool Show All Files (it is the 2nd from the left on my version of visual studio). Click on that tool. All of your Form files will now have an arrow beside them. click on that arrow to expand. Look for the code file named FormName.designer.vb. Double-click on it to open.
You have to click the "show all files"-Button. Then you can also see the Designer.vb-files.
Note: For C# and VS 2008, but the same applies to VB in VS 2010.
http://peterkellner.net/2007/12/31/visualstudioshowallfiles/
http://blog.brianhartsock.com/2009/09/14/visual-studio-tip-show-all-file/
Keyboard shortcut for Show All Files
Show All Files is a useful little button in the Visual Studio solution explorer to give us a full view of the directory structure our project files are sitting in. When it is off, we only see the files that are explicitly included in the project, but when it is on, we see everything. This makes it very easy to explicitly opt a file into the project without doing an add -> existing item -> find existing item in directory structure and add to project.
The default when creating a new Visual Basic application in Visual Studio is to not show all files, and unfortunatly there is no setting you can adjust to change that.
Open the code file, and in the top-right corner of the code window is a drop-down containing all methods. Open this and select "InitializeComponent".
A screenshot from a newer version. Visual Studio 2015 and 2017 will look like this.

Different style on buttons in messagebox in different projects

I have a problem with the style of the button in a messagebox.
If I call the following line of code in a current project the button get one type of visual apperance/style. And If I create a new VB.NET Windows Application project it gets a standard Windows apperance/style.
Windows.Forms.MessageBox.Show("Yaay", "Yaay!", Windows.Forms.MessageBoxButtons.OK)
See the difference between the buttons below.
I suspect they inherit the visual apperance from it's parent or maybe from some project settings. But I have not been able to find out from where.
Both projects are created in VB.NET 2.0, and both have same System.Windows.Forms - dll as reference (c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll).
http://www.freeimagehosting.net/uploads/2a956b0675.jpg
Screenshot can be found here.
Thanx in advance for your help!
I cannot see the image from where I am so I'm not sure if this will help you.
Open the Project Properties for each solution and look at the Application tab.
Is the "Enable Applicaton Framework" item ticked? And if so, is the "Enable XP Visual Styles" item also ticked?
That may the difference in the two solutions.