Solved

System Reflection

Posted on 2009-05-07
4
165 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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