Regional settings

  • Thread starter Thread starter Chakra
  • Start date Start date
C

Chakra

We have a Windows.NET application which uses CultureInfo to set the date
format based on the PC's regional settings. We find that if we change the
regional settings on a PC, unless we re-build the application, it throws an
error when we use the application. How does re-building the application help
to apply the regional settings ?
 
Hi,

Sounds really strange, as far as I remember Microsoft recommends that
Thread.CurrentCulture and Thread.CurrentUICulture properties are used to
determine current regional settings. Make sure you use these properties in
an appropriate manner (MSDN should have detailed description as well as some
code snippets).

Maybe you could post a code snippet for the problematic piece of code?
 

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

Back
Top