Finding Geographical Location and complete details from IP address.
I need some urgent help finding all the details such as country, longitudes, latitudes, city, ISP(if any) etc from the ip address. This is for some programming I am doin. I have searched a lot about this topic but most websites provide this software package either free or charging for it.
I want to develop this kind of program on my own from scratch. I need some info about how to go for, in order to find these details. I know tracingroute program can provide me with hops but I need exact location details in order to draw them onto a GEOGRAPHICAL MAP.
any help is welcome.......................
IP-To -Country mapping is done bassed on the country that the ISP has registared the renges of IPs for.
Bassed on that there are databases which you can get the country of IP.
You have to download the database and store in your own database and writ the code to fetch the country of the IP.
But remember some ISP s use the IP addresses in different countries than they are registered for (Mostly in US and CANADA). And the the country of IP reanges changes home times and you have to replace your old database from anewer version in regular bassis to have a good level of accuracy.
take alook at my web site for a sample IP-To-Country system
http://www.ad-man.2webh.com/test.htm
here Iam using a Third party Free Database which you can download from
http://ip-to-country.webhosting.info
I have recently written a IP-to-Flag of country systemwhich I havent uploaded yet
Similar Messages
-
WPF- How to save and retrieve details from database
I want to develop an desktop app to save and retrieve details from database, but am having a little hitch
am getting errors in my code, kindly advice below are the required code
xaml
<Grid>
<TextBox HorizontalAlignment="Left" Height="23" Margin="144,28,0,0" TextWrapping="Wrap" x:Name="TbxId" VerticalAlignment="Top" Width="193"/>
<TextBox HorizontalAlignment="Left" Height="23" Margin="144,134,0,0" TextWrapping="Wrap" x:Name="TbxFn" VerticalAlignment="Top" Width="193"/>
<TextBox HorizontalAlignment="Left" Height="23" Margin="144,77,0,0" TextWrapping="Wrap" x:Name="TbxLn" VerticalAlignment="Top" Width="193"/>
<Label Content="Student ID" HorizontalAlignment="Left" Margin="10,28,0,0" VerticalAlignment="Top" Width="101"/>
<Label Content="Last Name" HorizontalAlignment="Left" Margin="10,134,0,0" VerticalAlignment="Top" Width="101"/>
<Label Content="First Name" HorizontalAlignment="Left" Margin="10,77,0,0" VerticalAlignment="Top" Width="101"/>
<Button x:Name="BtnSave" Content="Save" HorizontalAlignment="Left" Margin="23,206,0,0" VerticalAlignment="Top" Width="75" />
<Button x:Name="BtnBrowse" Content="Browse" HorizontalAlignment="Left" Margin="149,206,0,0" VerticalAlignment="Top" Width="75" Click="Save"/>
<Button x:Name="BtnShow" Content="Show" HorizontalAlignment="Left" Margin="294,206,0,0" VerticalAlignment="Top" Width="75"/>
<WindowsFormsHost Grid.Column="0" Margin="448,28,75,243">
<wf:PictureBox x:Name="pictureBox1" Height="150" Width="150" SizeMode="StretchImage"/>
</WindowsFormsHost>
</Grid>
cs
private void Browse(object sender, RoutedEventArgs e)
SqlConnection cn = SqlConnection(global::DatabaseApp.Properties.Settings.Default.Database1ConnectionString);
try
OpenFileDialog dlg = new OpenFileDialog();
dlg.Filter = "JPG Files (*.jpg)|*.jpg|GIF Files (*.gif)|*.gif|All Files(*.*)|*.*";
dlg.Title = "Select Student Picture";
if (dlg.ShowDialog() == DialogResult.OK)
imgLoc = dlg.FileName.ToString();
picStu.ImageLocation = imgLoc;
catch(Exception ex)
System.Windows.MessageBox.Show(ex.Message);
Thank you
Jayjay johnHi Joakins,
I think Lloyd has a point here in that all I see there which is really database related is a connection string.
Maybe your question is more general though and you're just asking how to work with a database as a general principle.
Personally, I like entity framework and would recommend that.
You can read a shed load of stuff about it.
https://msdn.microsoft.com/en-gb/data/ef.aspx?f=255&MSPPError=-2147217396
With WPF almost every dev uses MVVM and I'm no exception.
You may find this interesting:
http://social.technet.microsoft.com/wiki/contents/articles/28209.wpf-entity-framework-mvvm-walk-through-1.aspx
The article for the second in the series is only partly written, but the sample is complete:
https://gallery.technet.microsoft.com/WPF-Entity-Framework-MVVM-78cdc204
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML -
How to find the job and job status from RSPCM
hi all,
suppose we got an error and in rspcm the process was failed.i want to know the status of that particular job.and if any i want to stop that job in SM37.
plz tell me how to find the job and job ststus from RSPCM...and how to stop that job in SM37
thanks,
jackHi Jack,
RSPCM: T.Code
This transaction is used to monitor the process chains
First:
here you need to add the process chains into the sheet
Second:
Then you can monitor the process chains in this transaction code
Like you can see the : status ,proces chain ,Last run date ,Last run time ,Log ID
Status : Green when sucessful,Yellow when running & Red when you get errors
Now when yoy click on any of the process chain in RSPCM you will go to the LOG VIEW as you see in RSPC transaction
SM37:T.code
This transaction is used for Job Overview
you can see many options in SM37
like Released,active,cancelled,finished,etc
Just select the ACTIVE jobs and also pass STAR in JOB ID & USER ID
here you can only see the active jobs
Goto Step in toolbar
select the program displayed
then chose option GOTO - Variant in main menu bar
in the variant you can see the job belong to which Process chain
if you want to cancel this job come back to SM37 Display screen
Select the Job and select the JOB DETAILS tab in Tool Bar
Collect the WIP ( Work Permit ID)
Go to SM50 T.code and find the WIP
in Main Menu Bar you find the option Cancel with Core choose this it will cancel the Job
Regards
Hari -
Find geographical location using ip address
hi
i am developing struts application. how can i find geographical location using ip address ?
any free database and source available ?There are certainly API's out for this. Just Google it.
[http://google.com/search?q=ip+geo+location+api] -
Since transferring data from my desktop to my laptop, i am now having problems copying and pasting details from my bank website in to a word document, the formatting is all over the place. This didnt happen before, when i pasted the details in to the word document the formatting was exactly the same as on the webpage. If I use internet explorer, I dont have this problem, so, I can only assume it has something to do with Firefox. I have checked the "Error console" and I am receiving this message: server does not support RFC 5746, see CVE-2009-3555.
Maybe:<br />
Dafizilla Table2Clipboard: https://addons.mozilla.org/firefox/addon/1852 -
How find print program and form name from the spool list
Hi,
I have a requirement to find print program and form name from the spool list.
I got the list of programs and forms from TNAPR table, I also want to find out any custom program sending the form directly to the spool.
Cheers
SamHi
Try TSP01-Suffix2
Regards
Raj -
How do I locate and remove malware from my macbook ?
How do I locate and remove malware from my Macbook ?
Check the links below for options to remove the Adware.
The Easy, safe, effective method:
http://www.adwaremedic.com/index.php
If you are comfortable doing manual file removals use the somewhat more difficult method:
http://support.apple.com/en-us/HT203987
Also read the articles below to be more prepared for the next time there is an issue on your computer.
https://discussions.apple.com/docs/DOC-7471
https://discussions.apple.com/docs/DOC-8071 -
How do I remove locations and/or pins from maps on iphone 5
How can I remove locations and/or pins from MAPS?
A purple pin is a dropped pin. You access that from the "back" of the map, but touching the lower right corner of the map. It is a pin that is dropped in the center of the map you happen to be looking at at the time. If there is no description of the pin, touch the pin and it should show a label, and on the right side of the label there is a blue arrowhead. Touch that and it will provide an address/description of the pin's location and there should be other options, such as directions to here, from here, etc., and then one to remove the pin. Touch that and it should disappear.
-
Trouble changing location and account details
I just relocated to the UAE am trying to change my location and account details on my iPhone 4S but its not letting me do so...can anyone help me out?
Hi abacuswendy
Are you both with Boost Mobile? Did you put your old SIM card into your new BlackBerry or did you get a new SIM with it?
Thanks
-CptS
Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)! -
Siri can not find my location and all the other apps do not even
siri can not find my location and all the other apps do not even
iPad 3 IOS 6.0.1Do you have a wifi signal? In order for the wifi only iPad to get any location fix, it needs to be connected to a wifi node - it's only way to determine locations is by looking up the wifi networks hardware address in Apple's wifi node location database of approximate locations (as mentioned already, it has no GPS chipset to use GPS location data).
-
Question
I used to be able to copy or drag and drop links from the address window. Now with the update, only the address is copied or dragged not the link. (Says something about not giving site information). I want to be able to drag and drop or copy links.To be more precise, you can setup a JComponent or JPanel on top of your JavaFX nodes that has a TransferHandler that can convert the (AWT/Swing) images dragged to the app to JavaFX image and then insert it into the underlying node.
As for the file chooser itselft: ListView and the JavaFX composer can allow you to create one quite easily. TreeView can aslso be used to a lesser extend (still a big buggy). For both of these, there are small bugs in the Cell API that may (or may not) prevent from displaying a proper thumbnail in the cells.
You can also use a regular JFileChooser if you do not mind the dialog box having a different LnF from the rest of your application. -
Every time I ask Siri to find something near me, she says that she cannot find my location because I need to turn on location services in the settings menu and in siri. These are both on, and after rebooting my phone it still doesn't work correctly. How do I fix this?
No, the app does not have to completely restart. It gets shifted in its open state into storage. Similar to how a computer uses the hard disk when it has insufficient memory.
What complicates things is that sometimes memory does not get returned for reuse when you close an app. Thus yo should periodically double click the Home button and "delete" unnecessary apps from the multitasking dock and power off and then back on the iPod. -
Viewing location and resource details in iCal
Hi,
I'm trying to better understand the use of the ICal Server Utlity for creating shared resources and locations. I'm still a SLS Server user (no plan to migration to Lion server soon), and all my users are using Lion.
Simply put, I have rooms I'd like my users to reserve. I've created them in iCal Server Utility and I can see and reserve them in iCal, so that's fine.
However, the locations (and resources for that matter) have extra "metadata" such as address, map, location, capacity and even a picture. But I've seen no way to let my users visualize this information. Browsing the directory through Address book does not return any of my resources so all this metadata seems lost.
Is there a way to let my users access this info? For example, I'd expect my users to right-click the conference room in iCal and view the resources' details, but this clearly doesn't work... :-(
Have any of you resolved this? Is an extra application required for this, e.g. browse the metadata of Open Directory locations and resources?
Thanks.Hello
If you are creating the orders using MRP, you should make sure that the field MRP is set to 1 on the source list. The field 'fixed vendor' is not relevant to MRP. When the vendor is selected from the source list, the purchasing organization should be also copied to the purchase requisition.
The storage location will be copied from the respective field on the material master tab MRP2.
Also take a look on the following document:
MRP: Vendor is not selected and general problems on source determination
BR
Caetano -
How to get Week,Month and Year details from a date column
Hi frenz,
I've a column like tran_date which is a date column..... I need the next week details based on this column and so on...
I need month and year details as well based on this tran_date column.... can any one tell me how...
Thanks in advanceMy example for objects:
create or replace type date_object as object
centure number,
year number,
month number,
day number,
hour number,
minute number,
second number,
daypart number,
week number,
constructor function date_object(p_dt date)
return SELF as result
create or replace type body date_object is
constructor function date_object(p_dt date)
return SELF as result
as
begin
SELF.centure:= trunc(to_char(p_dt,'YYYY')/100);
SELF.year:= to_char(p_dt,'YYYY');
SELF.month:= to_char(p_dt,'MM');
SELF.day:= to_char(p_dt,'DD');
SELF.hour:= to_char(p_dt,'HH24');
SELF.minute:= to_char(p_dt,'MI');
SELF.second:= to_char(p_dt,'SS');
SELF.daypart:= p_dt-trunc(p_dt,'DD');
SELF.week:= to_char(p_dt,'IW');
return;
end;
end;
select date_object(sysdate),
date_object(sysdate).year
from dual;Regards,
Sayan M. -
To get line item and confirmation details from CRM_ORDER_READ
Hi,
Please can anybody let me know which the field from which i can get line item details and material for the service order given?
I am using CRM_ORDER_READ to retrieve the values. In that i am exporting 4 fields - et_orderadm_h, et_orderadm_i, et_product_i, et_doc_flow. So from where to get line items and material id from these fields?
I will be very thankful if i get the answer of this question.Hi,
The attribute NUMBER_INT of ET_ORDERADM_I contains the Item Number.
Hope this helps!
Regards,
Rohit
Maybe you are looking for
-
Condition value of Tax gets wrongly added to Total value of Contract
Hi All, I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan. Consequently, the second lin
-
I have CC on my computer I have one license. I have bought a mac and wants to transfer the license to my mac. How shall I do it?
-
New E1000 is slower than old router
I hooked up a new E1000 yesterday. I've got a desktop pc connected to it through a wire - the desktop pc is not wireless (so there's no interference or confusion). I changed the password and I live in a rural area - no neighbors are using my wifi n
-
Oracle error when rebulding index (transaction FMBSIDX_RECON)
when I test run transaction FMBSIDX_RECON it gives no error but when executing the program crashes and the error below appear in a dump. that is ORA-00604 error occurred at recursive SQL level string Cause: An error occurred while processing a recurs
-
Itunes numerically organising filenames
I have a series of mp3 files on my itunes that are numbered sequentially. They are in Disk 1,2,3 etc up to 24. The problem is that itunes sorts the files as follows:disk 1 THEN disk 10 THEN disk 11,12,13...19 then disk 2. :(I cannot just rename them