   [.net] Asynchronous sockets + threading
  Hello,I have made a network-based application that uses asynchronous calls. In the Receive data callback function, I have it so that if it receives login verification then it creates a system tray icon that can then access the rest of the program. The problem is that the icon appears but is not functional. As far as I know, it's because this create tray icon function is created on a different thread (the one receiving the asynchronous calls). How would I access this function from the asynchronous call but get it to run on the main (or GUI?) thread?   
  Hrmm...I thought when you tried to call a function on a different thread from a different thread (?) it threw an exception?  That's what happened when i tried it and it offers a good link to MSDN on how to use the Invoke().I think that you might want to look at the Invoke methods.ArchG   