Results 1 to 3 of 3

Thread: Set locale for FileDialog

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2010
    Posts
    117

    Set locale for FileDialog

    Is there any way to force FileDialog's locale? Setting thread's culture has no effect.

    Code:
    Dim t As New Thread(Sub()
    						Using o = New OpenFileDialog
    							o.ShowDialog
    						End Using
    					End Sub)
    t.CurrentCulture = New CultureInfo(1049)
    t.SetApartmentState(ApartmentState.STA)
    t.Start()

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: Set locale for FileDialog

    This is an educated guess but try setting the CurrentUICulture instead or as well.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2010
    Posts
    117

    Re: Set locale for FileDialog

    Unfortunately, it does not help.

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