Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: HTML VB.NET
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;
 
<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 30-Sep-12 7:34am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
begi21 at 30-Sep-12 14:01pm
   
Thanks brother i will check them all
Sergey Alexandrovich Kryukov at 30-Sep-12 14:24pm
   
You are welcome.
When you check, consider accepting the answer formally (green button) -- thanks.
--SA
Rate this: bad
good
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!
 
http://www.codeproject.com/script/Articles/ArticleVersion.aspx?waid=39633&aid=469003[^]
  Permalink  

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



Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid