Remoting issue.............
-
Dear All..... I am using .Net Remoting with C#. I want to access windows Form, from the Client. Means on calling some function from the client windows form at server end should be invoked (activated). So accessing Form's object as singleton object in client side and trying to activate that form. Now the problem is, That form (Form1) becomes activated but hangs also. Message Box which is in Form1's Load Event is visible but still Form1 is hanged. Server Form and Client Form is not hanged, and are workable. Application not throwing any exception. So suggest me, what to do. Or how i can access form on Server Side using .Net Remoting. Thx 4 Reading...:) Enjoy Programming! Sid :)
-
Dear All..... I am using .Net Remoting with C#. I want to access windows Form, from the Client. Means on calling some function from the client windows form at server end should be invoked (activated). So accessing Form's object as singleton object in client side and trying to activate that form. Now the problem is, That form (Form1) becomes activated but hangs also. Message Box which is in Form1's Load Event is visible but still Form1 is hanged. Server Form and Client Form is not hanged, and are workable. Application not throwing any exception. So suggest me, what to do. Or how i can access form on Server Side using .Net Remoting. Thx 4 Reading...:) Enjoy Programming! Sid :)
Well if a modal MessageBox is open (that is shown in form_load) will of course hang the parent form (yeah the dialog is *modal*). And if I get you right you are publishing your form-object via remoting? You should not do something like this! Better use a static class and event with remoting.