System Reflection

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?
LVL 3
JeffvClaytonAsked:
Who is Participating?
 
JeffvClaytonConnect With a Mentor Author Commented:
http://www.codeproject.com/KB/vb/Send_string_by_message.aspx

This would seem to be the only solution
0
 
JeffvClaytonAuthor Commented:
My forms are not within the same executable file/program they are separate programs
0
 
MRSCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.