cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Alex_W
Level 6

How to test for country the target machine is in?

Hi All

Is there a way to test for the country the user is in? I have a number of features in the sdFeatureDialog2 form and would like to set the one feature to be checked by default only if the end user is in the USA.

Any ideas?
Labels (1)
0 Kudos
(1) Reply
Holger_G
Level 10

You can use some Kernel32 APIs like
GetUserGeoID
GetGeoInfo
0 Kudos