Solved

System Reflection

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

776 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