Remoting, Events - Ohh I hate it

foged

New member
Joined
Aug 28, 2006
Messages
2
Programming Experience
Beginner
Hi all.


Having troubles with remoting and event in VS.net 2005. I have a server app, a common library and a client app (console) and a client app (forms). My client app will capture the events just fine and response with a Console.Writeline, but the forms app just stalls when the event is raised. I tried to disable any form interactions (i have written test from the event to a listbox), and just added console.writeline also. This works fine.

Can anybody help me ? I fried with Form.Invoke(x,x) no luck!

Anyone?
 
Short shot

If you wrap the event in its own thread, it will complete correct. This is really odd.

How do the rest of you communicate with example a Windows Service? I wish to create a traybar app which changes icon to different states. Creating a timer and grabbin' a method seems as the simple solution, but there must be a way to make bi-directional communication with events i .NET 2! :mad:
 
Back
Top