S
Shane Story
I need to have an app run on several machines in a LAN. They all need to
know of each other's existence and be able to communicate simple messages
back and forth. These messages should be directed to all or just to an
individual.
I wrote this app in VB 2003. Basic Windows Forms programs with system tray
app, and they each connected to a Service on a machine.
The problem was that for some reason the service or the connections don't
seem to survive to the next day. I have no idea why. I have notice other
people's VB services that seem to hang over time.
1.) Any thoughts on why VB services hang?
2.) There may be a better way to do this. I original took the sample code
for a chat program and modified it to do this sort of thing. Is there a
better way to accomplish this? Would you recommend doing so without the
need of a service? Basically I want each user to have this app. It should
start up on login and automatically be in communication with the same app on
all other computers and thus be able to receive messages and respond.
Any suggestions/links as to how I can learn to do this better and so that it
doesn't hang up would be greatly appreciated.
Thanks,
Shane
know of each other's existence and be able to communicate simple messages
back and forth. These messages should be directed to all or just to an
individual.
I wrote this app in VB 2003. Basic Windows Forms programs with system tray
app, and they each connected to a Service on a machine.
The problem was that for some reason the service or the connections don't
seem to survive to the next day. I have no idea why. I have notice other
people's VB services that seem to hang over time.
1.) Any thoughts on why VB services hang?
2.) There may be a better way to do this. I original took the sample code
for a chat program and modified it to do this sort of thing. Is there a
better way to accomplish this? Would you recommend doing so without the
need of a service? Basically I want each user to have this app. It should
start up on login and automatically be in communication with the same app on
all other computers and thus be able to receive messages and respond.
Any suggestions/links as to how I can learn to do this better and so that it
doesn't hang up would be greatly appreciated.
Thanks,
Shane