Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need develp a C/S or B/S application run at PC or notebook.
when user open the application i want to get the use's physical address.
I think we have 2 way
1. IP address. sometimes IP address is incorrect,if the user set proxy server.
2. GPS. but over 99% clint don't have GPS device

so could you give me your opinion, how to do it.
thanks.
Posted

Why not just ask the user for it? Aside from that, I wouldn't want an application trying to figure out my physical address without my consent. The IP address can be used to get something close, like a metro area or city, but even then its off pretty far (my IP gives me a location in a city 50 miles away).

I guess I would ask why you need to do it without user intervention? Its not something that typically changes, so you ask once and thats it.
 
Share this answer
 
Hi Beyer,thank you. of course, the application gets physical address before user agree.
i just want to ask the funcation can be done.(feasibility analysis)
 
Share this answer
 
Comments
Thanks7872 12-Aug-13 0:33am    
Don't you see 'Have a Question or Comment' button below the answer? Why don't you use that? Ron didn't get any notification regarding this comment(This is not an answer).Remove this and post it as comment to above answer so that Ron gets notification about your comment.

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