Click here to Skip to main content
15,912,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have three projects and i want to add it in one solution .in vb.net 2010
my prob is that i want to make a login form and according to need i want to choss proj for work .
but i dont know how to this .how to access the form of another project at run time ?
plz help in this matter ...........
Posted

1 solution

Selecting the project you are working on is pretty easy: right click the project name in the Solution Explorer pane, and select the "Set as StartUp Project" option. When you run the solution, this is the project that is executed.

Accessing a form from a different project in the same solution is easy: just add a reference to the project:
Right click the project that doesn't contain the form.
Select "Add Reference..."
In the resulting dialog, select the "Project" tab on the left hand side.
Highlight the project containing the form, and press the "Add" button.

You may need to add an Imports statement to your files before you can access the form.
 
Share this answer
 
Comments
Vipin Sharma 6-Apr-13 4:58am    
thanks for your help it is really nice .
OriginalGriff 6-Apr-13 5:14am    
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900