Solved

System Reflection

Posted on 2009-05-07
4
163 Views
Last Modified: 2012-05-06
I am running a sub progam (vb.net Windows Form compiled to exe) inside a parent MDI program using system.reflection so that the separate exe looks like its just another screen in the main program.

Is there a way I can update a text box in the main calling exe from code in the sub program?
0
Comment
Question by:JeffvClayton
  • 2
4 Comments
 
LVL 9

Expert Comment

by:Deathrace
ID: 24327531
0
 
LVL 3

Author Comment

by:JeffvClayton
ID: 24333871
My forms are not within the same executable file/program they are separate programs
0
 
LVL 3

Accepted Solution

by:
JeffvClayton earned 0 total points
ID: 24333886
http://www.codeproject.com/KB/vb/Send_string_by_message.aspx

This would seem to be the only solution
0
 

Expert Comment

by:MRS
ID: 25064405
Not sure if it is worth redesigning your child applications, but you could create a base DLL that your children apps would inherit from.  In the base DLL you could define a set of events that could be overridden. In your parent app, you could use reflection to auto discover those events and wire them to handlers in the parent app.  

It would take some redesign of your children app, but would get you where you wanted to be.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now