Child window open inside of the main window form - vb.net

I have create a project with one main form window and also i have to use a number of other forms as well.
now i want to open these other forms inside the main window and not outside.
I'm using Visual Studio .NET 2010 as developing environment.
is there anyone who can assist me on this?
Thanks

You should use MDI child forms. Tutorial can be found here.
It has been existed since VS 2003 even in VB6. It should be available too for VS2010 (I have not tried VS2010 myself).

Related

VS 2010 Windows Form App - One Form has a different visual style - why?

I am building my first "real" VB Window Forms Application (I'm a "traditional programmer") and my application has perhaps half a dozen forms.
On execution all of these forms have the Windows 10 visual style (eg: grey on white max/min/close buttons at top right)... except for 1 form, which seems to be rendering in Win XP style (eg: Blue and red button style).
I have checked that "Enable XP Visual Styles" is UNClicked in the Project Properties, but this one form stubbornly refused to change.
I have a number of my forms that also appear in "XP style" in the VS Designer, but execute fine.
I suspect I may have enabled/disabled the "XP Visual Styles" option a couple of times, and perhaps initially created some forms when this was in different states... although I have no idea if this would have been the cause.
I really want this one form to be like all the others...
any ideas please? I am using VB in VS2010 (a bit old, but what I have to hand)
As I am quite new to VB so tell me what I can provide to help..
Many thanks,
David's comment has solved my immediate issue:
The single form appearing differently is indeed using Show() whereas the others are all ShowDialog(). There is no reason for me doing this, so I have changed it.

Two Windows Store Applications in one Solution

We'd like to create many MonoGames inside one Visual Studio 2012 Solution. The main screen has to be a Windows Store Application. From the main menu, we'd be able to navigate to specified minigame and when it finishes, navigate back to main menu. Is it possible to create that? Is this project correct in Microsoft Windows Store?
You can create multiple Windows Store apps (or projects) from one Visual Studio solution. Each project will have its own package file. However, they are separate apps and not related to each other. One alternative is to create one solution (or one Windows Store app) with multiple games. For example, you create one or a set of xaml pages for each game, and then navigate between these xaml pages. I know this approach works but just haven't tested it with MonoGame. For more info on packaging, check out Packaging your Windows Store app using Visual Studio 2012.

how to create Windows form in VB 10 Express

This sounds like a dumb question, but I'm using VS 2010 Express edition and cannot find where to add a new Windows form. The templates provided don't indicate a Windows form . Are they called something different in this version of VS?
Yeah I am not sure because I am using the same thing and I just go to the top and click
Project>Add Windows Form

Create custom chrome for a windows form in vb.net using Visual Basic 2008 express

How do you create custom chrome for a windows form in vb.net using Visual Basic 2008 express? I want to basically scrap what they give and start fresh, is there any way to do so easily?
I figured it out eventually. In the properties window with the form itself chosen, FormBorderStyle from "Sizable" to "None" will remove all built in chrome, therefore leaving me to go make my own. Resizability and moving may be a bit tough as I will have to code that myself, but this is an easy way to strip the chrome.

How can I include Flash in VB.NET?

I would like to create a .exe wrapper for a Flash Player using VB.NET. I am having a few problems.
1.I seem to remember being able to import Flash Player as a control into Visual Studio (2008 Pro). For some reason, I can't seem to VS to import it anymore. (I tried using the OCX from Visual Studio) Perhaps I'm looking for the wrong file. What file am I looking for?
2.Is including Flash inside of a VB program legal?
3.When a control is included in a VB.NET program (such as Flash) does the control need to be distributed in a separate file, or will the compiled application contain it in the ".exe"?
Thanks.
edit:
I was able to import the control as the Flash10b.ocx from c:\Windows\System32\Macromed directory as a COM component. Question 2 and 3 still remain.
Edit 2:
Is there documentation on the ActiveX control? I am trying top figure out the API for ExternalInterface. Any tips on that?
Using flash inside a VB program is perfectly legal, it is just an activeX control.
You will need to distribute the interop library with your application (it will be in your output directory) and the ActiveX object (flash10b.ocx) will need to be installed on the system, it wont package it all up for you.