Results 1 to 2 of 2

Thread: .NET Remoting

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Kansas
    Posts
    11

    Angry .NET Remoting

    I can do all three methods of .NET remoting: SingleCall, Singleton, and Client Activated Objects (CAO).

    How do I use the public events of the remoted class??

    I can create my object withevents and it will work fine, but if I try to handle one of the object's events in a sub, I get an error when I create the object, claiming that it can not find the file. This happens in all three methods of remoting.

    --Johnny

  2. #2

    Thread Starter
    New Member
    Join Date
    Jan 2002
    Location
    Kansas
    Posts
    11
    Aw, you guys never respond to my questions.

    Well, anyway. I have tried a few more things and I'm going to list them so nobody has to repeat these steps when trying to figure it out.


    1. I have tried passing the remote class a delegate of a function on my client machine, and haveing the remote class invoke the delegate. But I got the same error.

    2. I have tried making a public delegate on the remote class, and setting it to a function on my client machine, and (again) having the remote class invoke that delegate. I got the same error.

    3. I have tried declaring an event on the remote class, making a delegate type for the event, passing in the delegate from the client, and invoking it from the remote class. I got the same error.

    4. I have tried declaring an event on the remote class, making a public delegate for the event, setting that delegate to a function from the client, and invoking it from the remote class. I got an even uglier error.

    5. I have tried declaring an event on the remote class, making a delegate type for the event, creating a delegate for the event on the remote class and a delegate for the function in the client, and combining them. It didn't fail! But nothing happened.


    I am becoming very frustrated with this. I believe delegates are the correct thing to use.. has anybody else done .NET remoting that can help?

    --Johnny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width