Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I try without success to retrieve the information from;
http://www.find-ip-address.org/[^]

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


These codelines i need;

XML
<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>79.126.139.207</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 79.126.171.184 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

You need to use the techniques of Web scraping:
http://en.wikipedia.org/wiki/Web_scraping[^].

You can do it with VB.NET, basically, using the class System.Net.FtpWebRequest:
http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx[^],
http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^].

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

—SA
 
Share this answer
 
Comments
[no name] 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.
--SA
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!

http://www.codeproject.com/script/Articles/ArticleVersion.aspx?waid=39633&aid=469003[^]
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900