Click here to Skip to main content
13,089,943 members (43,339 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I try without success to retrieve the information from;[^]

I still do not understand how to get infos even i researched and saw some videos on youtube about it.

These codelines i need;

<b>My IP Country Name</b>:&nbsp;&nbsp;<font color='#980000'> Macedonia</font>&nbsp;&nbsp;<img src='images/cflags/mk.png'><br><strong>My IP Country Continent</strong>: <font color='#980000'>Europe</font>
 <font color='#980000'>(EU)</font>
<br><strong>My IP Country Latitude</strong>: (41.83)
<br><strong>My IP Country Longitude</strong>: (22)
<br><b>My IP Country Code</b>:&nbsp;&nbsp;MKD&nbsp;&nbsp;(MK)<br><br><strong>My IP Address Region</strong>: <font color='#980000'>Karpos</font>
<br><b>My IP Address City</b>:&nbsp;&nbsp; <font color='#980000'>Skopje</font><br><b>My IP Address Latitude</b>: (42)<br><b>My IP Address Longtitude</b>: (21.4333)<br><br><strong>My ISP (Internet Service Provider)</strong>:&nbsp;<font color='#980000'> ONE Telecommunications Services Stock Company Skop</font><br />
<strong>My IP Address lookup</strong> for <b></b> show IP which belongs to:&nbsp;<font color='#980000'>ONE PPPoE Broadband Internet Loc</font><br />
<b>My Time zone</b>: Europe/Skopje<br><b>My Local time</b>:<span id=localTime>Europe/Skopje</span><br></TD>

As you can see i want to obtain the infos about my location;
I need;

My IP Country Name ("which is shown as" Macedonia)
My IP Country Continent: Europe (EU)
My IP Country Latitude: (41.83)
My IP Country Longitude: (22)
My IP Country Code: MKD (MK)

My IP Address Region: Karpos
My IP Address City: Skopje
My IP Address Latitude: (42)
My IP Address Longtitude: (21.4333)

My ISP (Internet Service Provider): ONE Telecommunications Services Stock Company Skop
My IP Address lookup for show IP which belongs to: ONE PPPoE Broadband Internet Loc
My Time zone: Europe/Skopje
My Local time:Europe/Skopje

Thanks in advance and by the way do i always to use a webbrowser to download the html or can i via downloadstring(uri) obtain it too?
Please show me the code how to if you have time, thanks
Posted 30-Sep-12 7:34am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You need to use the techniques of Web scraping:[^].

You can do it with VB.NET, basically, using the class System.Net.FtpWebRequest:[^],[^].

For more detail, please see my past answers:
get specific data from web page[^],
How to get the data from another site[^].

begi21 30-Sep-12 14:01pm
Thanks brother i will check them all
Sergey Alexandrovich Kryukov 30-Sep-12 14:24pm
You are welcome.
When you check, consider accepting the answer formally (green button) -- thanks.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Here is an article which i uploaded on this website its about the above question, go people check it out and rate it and leave a comment![^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.170813.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100