C# .NET - System Tray spawns a new socket - Asked By Austine on 25-May-12 09:12 AM

Hi , In my C# winform system tray application, i do save some settings in the registry  and each time the form opens,
  It creats a new system tray icon and if i try to close one icon . it freezes my computer.

Please help
Jitendra Faye replied to Austine on 26-May-12 12:32 AM
It may be possible that is this because of some invalid setting in your registry,

For this first, you should restore your system with previous restore point and set your system in working condtion.

after that get valid setting for registry then try your code,
Somesh Yadav replied to Austine on 26-May-12 04:45 AM
try this,
http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c8781/Asynchronous-Socket-Programming-in-C-Part-II.htm
http://bytes.com/topic/c-sharp/answers/237558-strange-udp-socket-problem
[)ia6l0 iii replied to Austine on 27-May-12 08:37 PM
What are the registry settings?

Although, the first sight should be over the registry settings - I would rather look at your code and see what it does. If you are using MDI forms, and using them , then this behavior can be seen if the owner property of the forms are messed up. 

Hope this helps.