Jump to content
Sign in to follow this  

Getting location from IP

Recommended Posts



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).


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?


Share this post

Link to post
Share on other sites


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


Case ipwithinrange1


Case ipwithingrange2



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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.