Hi,

I'm looking for a way to read the country setting of an IPAQ.
I've searched the registery of my device, but I can't find it anywere.

Is it stored in another way inside the ppc?

thanks,
Eric

Re: Regional settings - where is it? by Amit

Amit
Mon Sep 22 16:31:42 CDT 2003

Take a look at GetLocaleInfo().....
Regards
Amit
"EMW" <someone@microsoft.com> wrote in message
news:bkmccb$l1m$1@reader1.tiscali.nl...
> Hi,
>
> I'm looking for a way to read the country setting of an IPAQ.
> I've searched the registery of my device, but I can't find it anywere.
>
> Is it stored in another way inside the ppc?
>
> thanks,
> Eric
>
>
>



Re: Regional settings - where is it? by EMW

EMW
Mon Sep 22 04:12:27 CDT 2003

Thanks.

How is do I use it, because it doesn't seem to be a eVB command?

rg,
Eric

"Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
news:OdsKDfOgDHA.3024@tk2msftngp13.phx.gbl...
> Take a look at GetLocaleInfo().....
> Regards
> Amit
> "EMW" <someone@microsoft.com> wrote in message
> news:bkmccb$l1m$1@reader1.tiscali.nl...
> > Hi,
> >
> > I'm looking for a way to read the country setting of an IPAQ.
> > I've searched the registery of my device, but I can't find it anywere.
> >
> > Is it stored in another way inside the ppc?
> >
> > thanks,
> > Eric
> >
> >
> >
>
>



Re: Regional settings - where is it? by Amit

Amit
Mon Sep 22 16:59:48 CDT 2003

Public Declare Function GetLocaleInfo Lib "Coredll" Alias "GetLocaleInfoW"
(ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String, ByVal
cchData As Long) As Long

Take a look at the API Text Viewer Tool which comes along with the SDK....
Hope it helps...
Regards
Amit

"EMW" <someone@microsoft.com> wrote in message
news:bkmeds$nt5$1@reader1.tiscali.nl...
> Thanks.
>
> How is do I use it, because it doesn't seem to be a eVB command?
>
> rg,
> Eric
>
> "Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
> news:OdsKDfOgDHA.3024@tk2msftngp13.phx.gbl...
> > Take a look at GetLocaleInfo().....
> > Regards
> > Amit
> > "EMW" <someone@microsoft.com> wrote in message
> > news:bkmccb$l1m$1@reader1.tiscali.nl...
> > > Hi,
> > >
> > > I'm looking for a way to read the country setting of an IPAQ.
> > > I've searched the registery of my device, but I can't find it anywere.
> > >
> > > Is it stored in another way inside the ppc?
> > >
> > > thanks,
> > > Eric
> > >
> > >
> > >
> >
> >
>
>



Re: Regional settings - where is it? by EMW

EMW
Mon Sep 22 05:00:03 CDT 2003

thanks!

"Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
news:u5UQFvOgDHA.2364@TK2MSFTNGP09.phx.gbl...
> Public Declare Function GetLocaleInfo Lib "Coredll" Alias "GetLocaleInfoW"
> (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String,
ByVal
> cchData As Long) As Long
>
> Take a look at the API Text Viewer Tool which comes along with the SDK....
> Hope it helps...
> Regards
> Amit
>
> "EMW" <someone@microsoft.com> wrote in message
> news:bkmeds$nt5$1@reader1.tiscali.nl...
> > Thanks.
> >
> > How is do I use it, because it doesn't seem to be a eVB command?
> >
> > rg,
> > Eric
> >
> > "Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
> > news:OdsKDfOgDHA.3024@tk2msftngp13.phx.gbl...
> > > Take a look at GetLocaleInfo().....
> > > Regards
> > > Amit
> > > "EMW" <someone@microsoft.com> wrote in message
> > > news:bkmccb$l1m$1@reader1.tiscali.nl...
> > > > Hi,
> > > >
> > > > I'm looking for a way to read the country setting of an IPAQ.
> > > > I've searched the registery of my device, but I can't find it
anywere.
> > > >
> > > > Is it stored in another way inside the ppc?
> > > >
> > > > thanks,
> > > > Eric
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: Regional settings - where is it? by EMW

EMW
Mon Sep 22 05:35:47 CDT 2003

One last question: Do you know the value of LOCALE_USER_DEFAULT, I can't
find it in API text viewer.

rg,
Eric


"Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
news:u5UQFvOgDHA.2364@TK2MSFTNGP09.phx.gbl...
> Public Declare Function GetLocaleInfo Lib "Coredll" Alias "GetLocaleInfoW"
> (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String,
ByVal
> cchData As Long) As Long
>
> Take a look at the API Text Viewer Tool which comes along with the SDK....
> Hope it helps...
> Regards
> Amit
>
> "EMW" <someone@microsoft.com> wrote in message
> news:bkmeds$nt5$1@reader1.tiscali.nl...
> > Thanks.
> >
> > How is do I use it, because it doesn't seem to be a eVB command?
> >
> > rg,
> > Eric
> >
> > "Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
> > news:OdsKDfOgDHA.3024@tk2msftngp13.phx.gbl...
> > > Take a look at GetLocaleInfo().....
> > > Regards
> > > Amit
> > > "EMW" <someone@microsoft.com> wrote in message
> > > news:bkmccb$l1m$1@reader1.tiscali.nl...
> > > > Hi,
> > > >
> > > > I'm looking for a way to read the country setting of an IPAQ.
> > > > I've searched the registery of my device, but I can't find it
anywere.
> > > >
> > > > Is it stored in another way inside the ppc?
> > > >
> > > > thanks,
> > > > Eric
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Re: Regional settings - where is it? by EMW

EMW
Mon Sep 22 06:08:56 CDT 2003

I tried this:

Private Function GetCountryInfo() As String
Dim cc
Dim lpLCData As String

cc = GetLocaleInfo(GetSystemDefaultLCID, LOCALE_ICOUNTRY, lpLCData, 6)

GetCountryInfo = lpLCData

End Function


but it is not working, CC gets value 3 and lpLPCData stays empty.
Both GetLocaleInfo and GetSystemDefaultLCID are declared!

rg,
Eric


"Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
news:u5UQFvOgDHA.2364@TK2MSFTNGP09.phx.gbl...
> Public Declare Function GetLocaleInfo Lib "Coredll" Alias "GetLocaleInfoW"
> (ByVal Locale As Long, ByVal LCType As Long, ByVal lpLCData As String,
ByVal
> cchData As Long) As Long
>
> Take a look at the API Text Viewer Tool which comes along with the SDK....
> Hope it helps...
> Regards
> Amit
>
> "EMW" <someone@microsoft.com> wrote in message
> news:bkmeds$nt5$1@reader1.tiscali.nl...
> > Thanks.
> >
> > How is do I use it, because it doesn't seem to be a eVB command?
> >
> > rg,
> > Eric
> >
> > "Amit" <amitranjan@visualsoft-tech.com> schreef in bericht
> > news:OdsKDfOgDHA.3024@tk2msftngp13.phx.gbl...
> > > Take a look at GetLocaleInfo().....
> > > Regards
> > > Amit
> > > "EMW" <someone@microsoft.com> wrote in message
> > > news:bkmccb$l1m$1@reader1.tiscali.nl...
> > > > Hi,
> > > >
> > > > I'm looking for a way to read the country setting of an IPAQ.
> > > > I've searched the registery of my device, but I can't find it
anywere.
> > > >
> > > > Is it stored in another way inside the ppc?
> > > >
> > > > thanks,
> > > > Eric
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>