By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,501 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,501 IT Pros & Developers. It's quick & easy.

Open a form from one project in another within the same solution

P: n/a
Is it possible to open a form from one project from a form in another project
within the same solution? If so how is this done? Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"lukegregory" <lu*********@discussions.microsoft.com> schrieb:
Is it possible to open a form from one project from a form in another
project
within the same solution? If so how is this done? Thanks


That's only possible if the project containing the form is a class library.
In other words: You cannot set a reference to another EXE file from another
project, but you can add references to class libraries within EXE and class
library projects.

In order to add a reference to a class library which is part of the same
solution select the project in the solution explorer, choose "Add/Remove
reference..." from its context menu and select the class library project on
the "Projects" tab.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

P: n/a
LukeGregory

Little addition to Herfried, he wrote it, however you would change in the
project properties the output type to class libary.

Cor
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.