Sign in to follow this  
Followers 0
eatfishdk

Getting location from IP

3 posts in this topic

#1 ·  Posted (edited)

Hi!

I need to have a bunch of computers check their IPs and then compare it to a list containing a location and an ip range?!

How do I go about doing this? I need to read the first three numbers (aaa.bbb.ccc) and then compare to the list and then have it outputting the name by the ip range..

We have about 25 different ip ranges and I need the PC to display a screen with the IP number and the Location it is in (and a lot of other information).

martin

Edited by eatfishdk

Share this post


Link to post
Share on other sites



So you want someone to write the code for you, with just the information that you want to choose an IP address from a list and have it tell you where that computer is?

If you already have the list, what format is it in?


Giggity

Share this post


Link to post
Share on other sites

well..

I guess a simple Select... Case... should do the trick?

Select

Case ipwithinrange1

europe

Case ipwithingrange2

US

endselect

something like that.


[right]~What can I say, I'm a Simplistic person[/right]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0