Users Online.
Users Online.
Users Online.
Users Online.
Users Online.
Users Online. Users Online. Users Online. Users Online. Users Online. Users Online. Users Online. Users Online.
Users Online. Users Online.
Users Online.
Go Back  Xtreme Visual Basic Talk > > > Users Online.


Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2005, 10:07 AM
Joppe Joppe is offline
Newcomer
 
Join Date: May 2005
Posts: 1
Default Users Online.


I need a sample code to do this:
I have made a program and need a label to show how many of the programs are open now.

Like if I and my friend have it open it would say "Users: 2" and their IP addresses.

Then If 5 people have it on at the same time it would say "Users: 5" and their IP addresses.

That way I could know how many of the program i have made are open.
I guess its doable with winsock somehow. Help people

Thanks in advance
-Joppe
Reply With Quote
  #2  
Old 05-22-2005, 12:37 PM
reboot's Avatar
rebootUsers Online. reboot is offline
Keeper of foo

Retired Moderator
* Guru *
 
Join Date: Nov 2001
Location: Graceland
Posts: 15,614
Default

We don't write code to order here. Perhaps if you shared what you tried so far someone could give you some tips?
__________________
~ Quod non mortiferum, fortiorem me facit ~

Avatar by lebb
Reply With Quote
  #3  
Old 05-26-2005, 04:59 PM
BOOYAH BOOYAH is offline
Newcomer
 
Join Date: May 2005
Location: NS, Canada
Posts: 3
Default

Just make an array and when each user connects add to the array the users ip address. And for keeping a count on how many users are connected just have a variable and when each user connects add to it, and when someone disconnects subtract from it
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Users Online.
Users Online.
Users Online. Users Online.
Users Online.
Users Online.
Users Online. Users Online. Users Online. Users Online. Users Online. Users Online. Users Online.
Users Online.
Users Online.
 
Users Online.
Users Online.
 
-->