Possible to get current position, of my pc, in VB 6.0 or VBA.
Tks.
get current position
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4334
- Joined: 26 Apr 2010, 17:36
Re: get current position
yes. geographic location.
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: get current position
I'm afraid I cannot help you with that. Do a Google search for vba geolocation or for vba location from ip address
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 12577
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: get current position
My IP address would place me a few hundred miles away from my physical location. I think you can only do what you want if the user has a GPS chip or similar.
StuartR
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: get current position
Recent versions of Windows have geolocation services built in; I don't know how they work, but I assume there is an API for them. Privacy-minded users may have disabled these services...
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 12577
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: get current position
Even if the user has enabled apps to access Windows location, it would still need the PC to have some means of knowing where it is.
You do not have the required permissions to view the files attached to this post.
StuartR
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands