Regional settings: period as decimal separator


  1. Posts : 9
    Windows 7 64 bit
       #1

    Regional settings: period as decimal separator


    Hello all,

    I have written commercial software that accumulates data from a pilot installation and saves this (in a nutshell). It works all well, HOWEVER when someone has a windows version with different regional settings it saves data with a comma as decimal separator instead of a period. E.g. 3,14 instead of 3.14

    This becomes a problem when interpreting data, as I save data in a .csv file with, yes, a comma as delimiter.

    So what I want: Include in the installer a registry key or something else that will automatically change this on windows 7/vista if the user has different settings.

    How can I achieve this.
      My Computer


  2. Posts : 9
    Windows 7 64 bit
    Thread Starter
       #2

    OK I already solved it, the values are under: this user\control panel\international in the registry.

    Do users always have permission to change these settings?
      My Computer


  3. Posts : 1,506
    W7 Ult. x64 | OS X
       #3

    In order to registry edit you need admin priviledges if UAC is enabled.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:21.
Find Us