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 / April 2005

Tip: Looking for answers? Try searching our database.

Access windows form in exe from dll

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Martin Carolan - 18 Apr 2005 17:34 GMT
Hi there,

I'm having a bit of trouble figuring out how to do this, help would be appreachiated:

I have a windows form inside an exe called frmWizard, it is just a wizard
interface with some navigation controls and a header. The form loads wizard
steps via. the type Wizard.Interop.Step (wizard.Interop is a seperate assembly)
and Wizard.Interop.Step inherits System.Windows.Forms.UserContorl. I have
no problem loading the control which inherits Wizard.Interop.Step, but I
cannot access frmWizard from inside Wizard.Interop.Step. I tried adding wizard.exe
as a reference in Wizard.Interop but VS won't let me. Basically I just want
to hook into a few events from Wizard.Interop.Step that are raised in frmWizard.
Hope you understand what I mean

Can anybody help? Thanks, Martin
Ignacio Machin \( .NET/ C# MVP \) - 18 Apr 2005 20:16 GMT
Hi,

What you can do is create a SEPARATED project and declare an interface with
the features of frmWizard that you need accesible from the dll , then use
this inteface in both projects , and make frmWizard implement it.

cheers,

Signature

Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

> Hi there,
>
[quoted text clipped - 13 lines]
>
> Can anybody help? Thanks, Martin.

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.