I can not freeze application with GetFromLocation in running ? i put this method in timer and service but my Map Application freeze during call GetFromLocation .
Public GeoC As Geocoder
...
Dim str(2) As Address
str = GeoC.GetFromLocation(Lat,Lon,2)
GetFromLocation is very slow method and i tried to move the code "GetFromLocation" in timer or service, but the sistem during the work this method is in foreground.
is there a way to read the position without blocking?
The most recent version of the geocoder library (by warwound) (2.01) makes the network call in its own thread and fires a GeocodeDone event when the geocoding is finished.
@Vincenzo: Update your geocoder library to the latest version and change your code to use the GeocodeDone event.
OK,
thanks for information. I used the V1.0 maybe it was a little old . I've updated the library V2.01 and managed as the example, the system seems to be much improved. All OK.