Re: How to access an applications form through remoting
- From: Spam Catcher <spamhoneypot@xxxxxxxxxx>
- Date: Tue, 13 Nov 2007 06:06:01 GMT
ZacharyDallas <zacharydallas@xxxxxxxxx> wrote in
news:1194900257.801019.67060@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
I want to be able to use .Net Remoting in order for a client to call a
remote object on a server, and then have the server update a control
in a form based on that call. From what I can tell, when an object
runs on the server it does not know anything about the application
that it is running inside of and the application knows nothing about
it. This means that the remote object could not access any controls
or data inside the application and the application could not access
any member variable or functions inside the object. Is there a way to
get around this?
Yes, get your form to host a singleton object.
The singleton object can either broadcast events or have a direct reference
to the parent form and call functions on the form.
If you're starting a new project, take a look at WCF - much more flexible
than remoting.
.
- Follow-Ups:
- Re: How to access an applications form through remoting
- From: ZacharyDallas
- Re: How to access an applications form through remoting
- References:
- How to access an applications form through remoting
- From: ZacharyDallas
- How to access an applications form through remoting
- Prev by Date: How to access an applications form through remoting
- Next by Date: Re: How to access an applications form through remoting
- Previous by thread: How to access an applications form through remoting
- Next by thread: Re: How to access an applications form through remoting
- Index(es):
Relevant Pages
|