|
-
Jul 6th, 2000, 01:02 PM
#1
Thread Starter
Member
Hi!
How can I find out IP of every computer connected to the local network and if possible names of those computers.
Can anyone please post an example or at least tell me how can I get names and IP addresses?
Thanx in advance for any answer
Celery
VB6 Pro SP3 - Academic Licence
-
Jul 7th, 2000, 06:15 AM
#2
Fanatic Member
Computer Name / IP addy
From each computer, individually, you can use the Windows API function called GetComputerName to obtain the computer name, but I am sure there is some method of getting the IP (other than WINIPCFG from the Start\Run).
I think you should post this question in the Windows API forum. Those cool hackers must know the solution.
Hope this helps; otherwise, write back here.
-
Jul 7th, 2000, 03:53 PM
#3
Thread Starter
Member
Thanx for your reply HaxSoft, but that's not what I was looking for.
I need to find out IP of every computer that is currently connected to the LAN network and display their IP or computer name in a listbox, so that user could select one and send him a message(I already know how to send messages).
I would appreciate any anwer - with or without an examle - if anyone out there knows how to do that.
Celery
VB6 Pro SP3 - Academic Licence
-
Jul 7th, 2000, 05:41 PM
#4
Hyperactive Member
Hey, I'm not sure how much help this is, but if you do the command net view at DOS prompt I believe you get a list of all the connected computers. It may be possible to run that program and parse the results. Or you may find a better way.
"People who think they know everything are a great annoyance to those of us who do."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|