C# tabs control and Visual Studio questions

I have 2 questions
1. I have 4 forms on on one visual studio 2005 C# project, how can I select one form to be run first? right now, it run the first form I created
2. I create a form which has tab controls, how can I add existing forms to the tabs?

Thanks a lot
Vik ShahLead .Net Web Developer / AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

1.click on solution explorer , right click on the project , select properties, in the properties    pages --select General in left panel and in the right panel click on (not.set) of Startup object . here you select the form to start first


in the main function (generally it will be in the first form u added ) you will see the line like this
Application.Run(new Form1());
changed the Form1 with the form  name you want to start first.

2. since form is a toplevel control it is not possible to add form to a control (in your case it is tab control)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vik ShahLead .Net Web Developer / AnalystAuthor Commented:
I am using Visual Studio 2005 , there is no General tab
but I have a file called: program.cs which has Application.Run  to chage the running form
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.