Ryan_R
asked on
Winsock IP address query (multiple)
I want to make a VB6 app that can
a) show my computer name and IP Address and
b) show IP Address and comp names of other PCs on the network
c) query a single comp name/IP address as typed in by user
A and C should be easy enough to figure out, but what about B?
do i need an instance of this program running on connected PCs to do it or can i use something else, even if i wasn't connected to LAN when system booted up - connect to sitch later?
solution + VB6 coding would be appreciated
(also, sometimes my IP address appears as real IP address (168.192.100.1) and sometimes as lookback adapter (127.0.0.1) depending on what pc i run program on. Why is it so and how can i fix it?)
Thanks - Ryan R
a) show my computer name and IP Address and
b) show IP Address and comp names of other PCs on the network
c) query a single comp name/IP address as typed in by user
A and C should be easy enough to figure out, but what about B?
do i need an instance of this program running on connected PCs to do it or can i use something else, even if i wasn't connected to LAN when system booted up - connect to sitch later?
solution + VB6 coding would be appreciated
(also, sometimes my IP address appears as real IP address (168.192.100.1) and sometimes as lookback adapter (127.0.0.1) depending on what pc i run program on. Why is it so and how can i fix it?)
Thanks - Ryan R
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ok so far so good.
how about using this on different networks?
ie Domain, Workgroup, and Novell Client/Server network on top of Win XP?
how about using this on different networks?
ie Domain, Workgroup, and Novell Client/Server network on top of Win XP?
ASKER
saved links to HDD - will review them when i have more time
until later, ryan
until later, ryan
Hi Ryan. Please see http://www.geocities.com/callrs/eeDeleted.htm & reply by email if you can get cached copy. Thanks.
ASKER
can't get geocities at school: banned, will try later, thanks
ASKER
sorry i've completey forgotton about this post guys, will endeavour to try out solutions soon and accept an answer.
ASKER
http://www.freevbcode.com/ShowCode.Asp?ID=703
i have tried this example with no success, when i use the listbox.add command or any command to view the data (ie msgbox) i get the error Type Mismatch.
any ideas
i have tried this example with no success, when i use the listbox.add command or any command to view the data (ie msgbox) i get the error Type Mismatch.
any ideas
ASKER
and while im at it already was using winsock for local ip as stated somewhat in original question
http://www.devcity.net/forums/faq.asp?tid=1712 (as found in https://www.experts-exchange.com/questions/21858688/use-winsock-to-retrieve-all-IP-in-the-network.html)
tried this also without success - the error i belive being on the line of code where it reffers to something.ADODB or something - was i supposed to add a reference or something in my project for this example
if i can get your ideas on this and get it working then i can easily accept an answer here - thanks everyone
http://www.devcity.net/forums/faq.asp?tid=1712 (as found in https://www.experts-exchange.com/questions/21858688/use-winsock-to-retrieve-all-IP-in-the-network.html)
tried this also without success - the error i belive being on the line of code where it reffers to something.ADODB or something - was i supposed to add a reference or something in my project for this example
if i can get your ideas on this and get it working then i can easily accept an answer here - thanks everyone
ASKER
ok i have had limited success with a few suggestions now so i think it's feeding time at the EE zoo (yippee)
thanks for all your help
thanks for all your help
ASKER
it's not possible to list PCs that are not in my workgroup, is it?
ASKER