all groups > dotnet remoting > may 2006 >
You're in the

dotnet remoting

group:

Remote Object


Remote Object BADER
5/14/2006 11:30:02 PM
dotnet remoting:
Is it possible to make a "Form" in the Server App (Server.exe)
as the Remote Object instead of a spreat DLL...
If yes, please give an example
Re: Remote Object BADER
5/15/2006 9:58:01 PM
Thanx for reply...
But there are 2 more things , I would like you to clarify for me
1- "someuri" .. ???
2- In the Client App, how to create an object of the Server From and how to
Activate it.



[quoted text, click to view]
Re: Remote Object Spam Catcher
5/16/2006 12:00:00 AM
=?Utf-8?B?QkFERVI=?= <BADER@discussions.microsoft.com> wrote in
news:1C0D2B0D-9CAA-4CA3-977C-ED34B43A4346@microsoft.com:

[quoted text, click to view]


Yes, just use:

ChannelServices.Marshal(me, "someuri")

Re: Remote Object Spam Catcher
5/17/2006 2:03:09 AM
=?Utf-8?B?QkFERVI=?= <BADER@discussions.microsoft.com> wrote in
news:749E50F3-65AA-46B5-91D3-F738CB0AFC41@microsoft.com:

[quoted text, click to view]

someURI is an abirtrary URI (name for object).

[quoted text, click to view]


On the client side, use Activator.GetType.

Since the client has no access to the form - you create an interface which
contains all the function you need. The server form will implement the
interface. The client will use the interface to call remote functions.

Re: Remote Object BADER
5/20/2006 6:08:02 AM
Thanx a lot Spam Catcher
That was really Helpful


[quoted text, click to view]
AddThis Social Bookmark Button