trying to communication between two form in different project under one solution
-
hey, i tried to share data between two form in different project under same solution. i have two project(project A,project B) in one solution and i want to send data from project A to Project B. and also at that time i want to activate form from project B and same time wants to close previous form. please help me in this case. i really stuck with it. i am using windows application in C# and doing serial communication. please reply as soon as
-
hey, i tried to share data between two form in different project under same solution. i have two project(project A,project B) in one solution and i want to send data from project A to Project B. and also at that time i want to activate form from project B and same time wants to close previous form. please help me in this case. i really stuck with it. i am using windows application in C# and doing serial communication. please reply as soon as
arpi8319 wrote:
please reply as soon as
????? If they are in the same solution, means NOTHING. You need to use something like WM_COPYDATA, or if you want to be all modern, use WCF.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
hey, i tried to share data between two form in different project under same solution. i have two project(project A,project B) in one solution and i want to send data from project A to Project B. and also at that time i want to activate form from project B and same time wants to close previous form. please help me in this case. i really stuck with it. i am using windows application in C# and doing serial communication. please reply as soon as
Hi, Use WCF if these 2 projects are running in different app domains. Ensure to, -Use Named Pipe binding (I assume that both are winform applications and running on same machine) -Implement duplex contract for notifications. Let me know if you need help for implementing this.