Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2007

Tip: Looking for answers? Try searching our database.

Accessing forms from different project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dimsion - 14 Feb 2007 17:49 GMT
Hi everyone,

Does anyone know how i can access forms from different project. I have
multiple projects and i was wondering if it would be possible to access
those forms without adding it in it into the project itself.

Thanks!
Shaun C McDonnell - 14 Feb 2007 19:29 GMT
Dimsion,

You could compile the forms you want reuse into a .NET Assembly (.dll or
.exe) and then add the respective assembly as a reference to any project you
wish to use the forms for.

Shaun McDonnell

> Hi everyone,
>
[quoted text clipped - 3 lines]
>
> Thanks!
RobinS - 15 Feb 2007 06:58 GMT
If the project is in the same solution, couldn't you set up a reference to
projectB in projectA, and then access the form like projectB.myForm.Show()
?

Robin S.
--------------------------------------
> Dimsion,
>
[quoted text clipped - 11 lines]
>>
>> Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.