Override Regional settings within app

C

Chris

Hi,

I would like to override the regional settings (e.g. for the decimal char
and the thousand separator) within an application. Is this possible and mor
eimportant... how?

Thx,
Christian
 
J

Jean-Guy Marcil

Chris was telling us:
Chris nous racontait que :
Hi,

I would like to override the regional settings (e.g. for the decimal
char and the thousand separator) within an application. Is this

What application?
possible and mor eimportant... how?

These are Windows settings, not Word options.

I guess that through API calls / Registry "hacking" you could change Windows
settings.

You can use this code to read what they are:
MsgBox System.Application.International(wdDecimalSeparator)
MsgBox System.Application.International(wdThousandsSeparator)
but these are Read-Only.

What are you trying to do?
It might be easier in Excel where you can change them within the
application.


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
C

Cindy M -WordMVP-

Hi Chris,
I would like to override the regional settings (e.g. for the decimal char
and the thousand separator) within an application. Is this possible and mor
eimportant... how?
I can only talk about Word, and since you ask in a Word.VBA group, I'll assume
that's the application you're interested in...

In what manner do you want to override these settings? Please be more
specific, and mention the versions of Word and Windows.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
C

Chris

Sorry, I used the wrong group for that. I have already sent it to
....vb.winapi

Christ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top