From: Alessandro Ghelfi on 24 Feb 2010 05:30 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 24 Feb 2010 09:02 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 25 Feb 2010 14:13 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 > >
|
Pages: 1 Prev: Runtime error 6068 Next: enumerate the members of nested groups |