|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to call a form in another projectHello All
Can anyone tell me in a single solution how to call a form in another project? I have a large solution made up of several projects and need to call back and forth betweem them TIA "Robert Gage" <rg***@estarnow.com> schrieb: Add a reference to the other project to your project, then import the > Can anyone tell me in a single solution how to call a form in another > project? > I have a large solution made up of several projects and need to call back > and forth betweem them namespace containing the form class you want to instantiate and create an instance as you do it with forms defined in the project: \\\ Imports ClassLibrary1 .... Dim f As New Form1() f.Show() /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thank You
Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:OxVl43fQGHA.2816@TK2MSFTNGP15.phx.gbl... > "Robert Gage" <rg***@estarnow.com> schrieb: > > Can anyone tell me in a single solution how to call a form in another > > project? > > I have a large solution made up of several projects and need to call back > > and forth betweem them > > Add a reference to the other project to your project, then import the > namespace containing the form class you want to instantiate and create an > instance as you do it with forms defined in the project: > > \\\ > Imports ClassLibrary1 > ... > Dim f As New Form1() > f.Show() > /// > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> >
VB.Net 2005 Treeview example required
WebBrowser Handles keyword. FileStream is adding extra characters Optimizing Repeated PictureBox.Paints padding text field with blank in MS Access vs OLEDB Jet 4.0 Getting icon from form in dynamically loaded DLL Parsing XML strings Browsers Block Step Into Debugging for a function |
|||||||||||||||||||||||