Windows Vista Forums

com.sun.star.lang.Locale
  1. #1


    Alessandro Ghelfi Guest

    com.sun.star.lang.Locale

    Please,can you translate from java to wsh this code?

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



    Thank you



      My System SpecsSystem Spec

  2. #2


    Paul Randall Guest

    Re: com.sun.star.lang.Locale

    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


      My System SpecsSystem Spec

com.sun.star.lang.Locale problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot execute the files under a Chinese (Big5) Character under Vista Prenium UK Lang keith2257 Vista General 0 20 Jul 2009
Locale bug? Erik Droszcz PowerShell 4 02 Dec 2008
System Locale raptorstriker98 General Discussion 0 03 Sep 2008
[Problem] Windows Vista Remote Desktop NON-English user swich lang SoKoOLz Vista networking & sharing 0 20 Jun 2007
Old issue-Bios-Attn Lang Jeff Vista General 0 04 Dec 2006