Ah, we crossposted it seems.
I guess that I could use your function to determine the decimal point, and then like in your example substitute the "wrong" for the "correct" one before proceeding with using the data in the next functions.
I have something to work with now.
Thanks :)
Could this work ?:
Set Shell = CreateObject("Wscript.shell")
Shell.RegWrite "HKCU\Control Panel\International\sDecimal", ".", "REG_SZ"
Shell.RegWrite "HKCU\Control Panel\International\sList", ";", "REG_SZ"
The above should set the decimal point symbol to ".", and the list separator symbol to...
Hi all.
@ Remou.
The SetLocale function seems to that I could force a Language that uses period for the decimal point (US ?).
Dont know if there will be some unwanted sideeffects from doing so. Will investigate it.
@ Hugh.
dpChar sounds interesting.
But is it available in VBS ? I cant find any...
Hi.
I have succeeded in writing some scripts that reads and writes values to text files.
What occasionally screws things up is when the decimal symbol is changed in the regional settings of Windows Control panel. You know, to designate the decimal point, in some languages is used the period...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.