Language of installed MS-Office

Hello people, I have the following problem. My program has to create csv with measured data files and read data from csv files created with MS-Excel. Of course, it works with "read/write to spreadfile" very well, but we have MS-offices with different languages. English use "." for decimals and ',' as delimiter of a (German) ',' for decimal numbers and ';' as the delimiter. I need a VI returns the language installed MS Office, so I can choose the right delimiter. I found this one here (returns the name of the computer) http://forums.ni.com/t5/LabVIEW/Get-Computer-Name/m-p/101433 I think this could work in a similar way, but I do not know the installed MS-Office-language register. Do you have any idea how to solve this problem? Maybe there's a simple? (It is not possible in Excel, choose it the delimiter (just ',' in the ENG version and ';' in the GER)). Thank you. Best regards: Alexander

alexphysiker wrote:

It is not possible to use 'tab', because Excel is not used as delimiter in csv files.

It's only because you choose to use .csv. If you choose the type of text file (separator: tab) then you can use the tabs. A .csv file is nothing more than a text in any case file.

With respect to the determination of the language, a Google search would have given the answer. You can search the registry for this information. For Office 2003, the key is HKLM\Software\Microsoft\Office\11.0\Common\LanguageResources\SKULanguage. The value of this key will tell you the language. English is 1033. Some languages have other values, which are documented.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • Need driver 'Wifi' for my Tecra A11 - 1 9

    Hello I have a Toshiba Tecra A11 - 1 9 PTSE1E. I need the wifi driver and can not find. The Web of Toshiba site does not recognize my computer with serial number. I need help, thank you.

  • analog output ground loops

    Hello I use a power supply (kepco BOP 100-4, if it helps) and control using a card PCI-6221. I am also able the current and voltage in the circuit of load using the same Board. Feeding is a floating source, but took me to the Earth, so for measures t

  • DT of a waveform is not equal to the sampling frequency

    I wrote the attached VI to take data from two different channels, 1 a cell, and the other being an encoder. I have my calendar synchronized with the entry load cell. The question I have is that at different sampling rates high for the program, does n

  • Redirect port on the router Cisco 881 can following the active WAN Interface

    Hello Is there a way to make the port Fowarding after the Active Wan Interface? In this case the port Fowarding only works when the interface is active is GigabitEthernet0/0 Bureau3616 (config) # ip nat inside source tcp static 192.168.2.xxx 3389 int

  • Properties of a MOV file?

    Let's say I have add a MOV to my first project.   I just want to knowf stopShutter speedISOThis clip was shot at.How can I do this?   If I right click on the MP4 in the part of the project, of course properties... is an option.    But 3 points above