using remote Custom Control, How? -
04-12-2007
, 09:15 AM
Hi,
I want to use a remote Custom Control in a winform application. The thing
is, I have a service to which I connect by remoting. This service loads
modules that contain plugins for which there is a configuration control and
a visualisation control. The service cannot display anything, so I must
connect to it by remoting (or any other way) from my client app and get the
config and display controls.
The thing is, I can change the properties and call the methods on the
controls but cannot add them to the form because static methods cannot be
called remotely. Is there a way around that? Does anybody knows a better way
to do so? because right now, I'm just loading the plugins twice; once for
the service and once for the client. So it limits the client app to the
current machine and it cannot connect to the service on another machine
because it could have different plugins.
Please Help!!
Thanks
ThunderMusic |