Controlling an application from another.
-
Hello sirs, I have exhausted my resources and have come seeking help. I have a windows .net application A written in C# and I have another windows .net application written in C# called B. B is a simple Form with a button and a listbox. It contains an arrayList that when the button is pressed spits out all the strings in it. A is ment to Run B and be able to change its arraylist to add strings to it and possible call functions in B. Example: I run A which Loads B B's form shows up and I click the button which displays Hello World. I goto the A form which has some input to add strings to Bs arrayList. I reclick Bs button and the new strings show up. Any ideas?
-
Hello sirs, I have exhausted my resources and have come seeking help. I have a windows .net application A written in C# and I have another windows .net application written in C# called B. B is a simple Form with a button and a listbox. It contains an arrayList that when the button is pressed spits out all the strings in it. A is ment to Run B and be able to change its arraylist to add strings to it and possible call functions in B. Example: I run A which Loads B B's form shows up and I click the button which displays Hello World. I goto the A form which has some input to add strings to Bs arrayList. I reclick Bs button and the new strings show up. Any ideas?
Hi, A and B are two processes. To get hold of objects in B you have to attach a dll into B. See the link below. http://www.codeproject.com/dotnet/objectspy.asp