Set oMyObject = WScript.CreateObject("com.sun.star.lang.Locale")
should work, but your script will only be able to use the object if it is
scriptable and licensed for scripting. The documentation for
com.sun.star.lang.Locale should tell you whether it is scriptable.
Microsoft's common dialog control is an example of a control that is
scriptable but requires licensing. The installation of some Microsoft
programming packages includes the license for scripting this control.
-Paul Randall
"Alessandro Ghelfi" <grappale@newsgroup> wrote in message
news:%23PjPYxTtKHA.4796@newsgroup
> Please,can you translate from java to wsh this code?
>
> Dim LocalSettings As New com.sun.star.lang.Locale
>
>
>
> Thank you