Results 1 to 7 of 7

Thread: Automation?

Threaded View

  1. #7

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Posts
    8
    Thanks jim
    I am trying to change EVERYTHing (date format, time, language ane etc). So for example if your language is English I want to set it to say French. I Have found functions like setThreadLocale (win32 API) but I am having difficulty calling them through VB with the right Parameters and everythig.

    REason : I want to run a program with one language setting and then change languge and run it in another lang setting

    <code>
    Private Declare Function SetThreadLocale Lib "kernel32" _
    (ByVal LCID As Long) As Boolean

    Dim LS As Boolean
    LS = SetThreadLocale (MakeLCID(MakeLangID (0419,Sublang_Neutral), Sort_DEfault)
    </code>

    For some reason the MAkeLangID is not recognized. I am thinking its an API C++ call and not VB.

    UDDATE : THANKS FOR THE LINK.
    Last edited by margant; Jun 20th, 2003 at 09:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width