From: Alessandro Ghelfi on
Please,can you translate from java to wsh this code?

Dim LocalSettings As New com.sun.star.lang.Locale



Thank you
From: Paul Randall on
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(a)hotmail.it> wrote in message
news:%23PjPYxTtKHA.4796(a)TK2MSFTNGP02.phx.gbl...
> Please,can you translate from java to wsh this code?
>
> Dim LocalSettings As New com.sun.star.lang.Locale
>
>
>
> Thank you


From: Al Dunbar on
Hmmm, he wanted his java code translated from java to wsh. Perhaps he was
hoping for a jscript translation...

/Al

"Paul Randall" <paulr901(a)cableone.net> wrote in message
news:#oZ6GoVtKHA.4860(a)TK2MSFTNGP05.phx.gbl...
> 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(a)hotmail.it> wrote in message
> news:%23PjPYxTtKHA.4796(a)TK2MSFTNGP02.phx.gbl...
>> Please,can you translate from java to wsh this code?
>>
>> Dim LocalSettings As New com.sun.star.lang.Locale
>>
>>
>>
>> Thank you
>
>