youknowwho4eva Posted August 1, 2008 Share Posted August 1, 2008 I'm trying to create a program that displays who is online (running the same program on the network), I was going for a list box so that you could click on a name (or several names) and perform an action. any suggestions on how to create a list of online people that automatically updates when someone starts or closes the same program? This thing has been eating my brain since yesterday morning. Giggity Link to comment Share on other sites More sharing options...
Minikori Posted August 4, 2008 Share Posted August 4, 2008 I'm trying to create a program that displays who is online (running the same program on the network), I was going for a list box so that you could click on a name (or several names) and perform an action. any suggestions on how to create a list of online people that automatically updates when someone starts or closes the same program? This thing has been eating my brain since yesterday morning.I would say either have it constantly updating, or make a refresh button. For those who are asking questions, look in the help file first. I'm tired of people asking stupid questions about how to do things when 10 seconds in the help file could solve their problem.[quote name='JRowe' date='24 January 2010 - 05:58 PM' timestamp='1264381100' post='766337'][quote name='beerman' date='24 January 2010 - 03:28 PM' timestamp='1264372082' post='766300']They already have a punishment system for abuse.[/quote]... and his his name is Valik.[/quote]www.minikori.com Link to comment Share on other sites More sharing options...
Vindicator209 Posted August 4, 2008 Share Posted August 4, 2008 (edited) well, my network chat program LanSync simply writes the user's name to a file on the network which all the other instances of the program can read from, then when someone logs off, it automatically deletes their name off of it too, so the program(s) can just refresh from the file every now and then eDIT: I don't know if that was your questiong, if you meant how to refresh the list then thats simple: set a timer (TimerInit()) and somewhere in you GUI's loop(assuming you have one) simply delete all the list's current data, and re-add them to it Edited August 4, 2008 by VindicatorOmega [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now