المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : passing parameters between two application



C# Programming
05-12-2009, 09:24 AM
HI.
I have two C# application ("first" and "Second") and i call "first.exe" from the "Second" program with this code :
System.Reflection.Assembly extAssembly = System.Reflection.Assembly.LoadFrom("c:\\first.exe");
Form extForm=(Form)extAssembly.CreateInstance("first.Form1",true);
this.AddOwnedForm(extForm);
extForm.Show();
Then I want to pass some parameters from the "second" program to the "first" program .
Can anyone help me please?