opening another form in a different solution

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm new to VB.NET, so please bear with me..

I've created several forms, each in their own solution. I want to create a "switchboard"; however, it seems that I can only open forms that are in the same solution. Is this possible to click on a button and open a form in another solution?

Thanks
 
I take it that each solution represents an assembly.
If you add a reference to another assembly, you can open any public forms
defined within the other assembly.

Chris


Rosanna said:
I'm new to VB.NET, so please bear with me..

I've created several forms, each in their own solution. I want to create
a "switchboard"; however, it seems that I can only open forms that are in
the same solution. Is this possible to click on a button and open a form in
another solution?
 
* "=?Utf-8?B?Um9zYW5uYQ==?= said:
I'm new to VB.NET, so please bear with me..

I've created several forms, each in their own solution. I want to
create a "switchboard"; however, it seems that I can only open forms
that are in the same solution. Is this possible to click on a button
and open a form in another solution?

Yes, if the type of the other project is "class library". Then you can
reference the class library from within your Windows Forms project and
instantiate the classes defined in the class library. Have a look at
the project's "References" "folder" in solution explorer.
 
Back
Top