?
Solved

System Reflection

Posted on 2009-05-07
4
Medium Priority
?
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

764 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