Does anyone have any problems setting the regional setting on a PC using the SetLocale method?
I have a bunch of PC's that I need to change the regional settings on to Regional setting English-Ireland. The PC's are presently set to English-US. I have tried manually setting the PC's to English-Ireland and everything works a treat.
I want to write a VBScript to change the regional settings bu am having no luck with this..
I have run the following code to change the settings for testing purposes.....
MsgBox GetLocale ' Returns 1033
SetLocale SetLocale("en-ie")
MsgBox GetLocale ' Returns 6153
But it does not change the locale settings as it should anyone any ideas???
if not is there a way to use rundll32.exe to call intl.cpl so that at least if I can detect that the settings on the PC are US I will be able to launch tihe control Panel CPL so that users can maunal change it themselves?
B-)
I have a bunch of PC's that I need to change the regional settings on to Regional setting English-Ireland. The PC's are presently set to English-US. I have tried manually setting the PC's to English-Ireland and everything works a treat.
I want to write a VBScript to change the regional settings bu am having no luck with this..
I have run the following code to change the settings for testing purposes.....
MsgBox GetLocale ' Returns 1033
SetLocale SetLocale("en-ie")
MsgBox GetLocale ' Returns 6153
But it does not change the locale settings as it should anyone any ideas???
if not is there a way to use rundll32.exe to call intl.cpl so that at least if I can detect that the settings on the PC are US I will be able to launch tihe control Panel CPL so that users can maunal change it themselves?
B-)