Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.remoting
Re: Remoting and Events with VB.NET
Paulsharp
8/30/2004 9:36:00 AM
The only thing done wrong , from what I've seen, is that the event handler (objTestObject_RemoteEvent) must not be placed at the Client Side. Instead you must declare a new class that is MBRO or Serializable in the TestRemotingLib, and there you can place the event handler.
The reason is that both server and client must have access to this class.
Then after getting the event in there, you might wanna forward it to some client class where you want to implement the code for the handling. This you can easily do with a normal event.
Good luck!
Paul
---
Posted using Wimdows.net NntpNews Component -
Post Made from
http://www.DotNetJunkies.com/...
Our newsgroup engine supports Post Alerts, Ratings, and Searching.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Remoting and Events with VB.NET
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password