Results 1 to 4 of 4

Thread: Refresh form after changing Culture

  1. #1

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Refresh form after changing Culture

    I'm writing an application where I want to be able to change the user interface language (eg from English to German) from an item on the Tools menu.

    What I don't know is how to refresh the form and have it show the correct translation after I've switched the culture.

    Can anyone help?
    This world is not my home. I'm just passing through.

  2. #2
    Registered User
    Join Date
    Nov 2002
    Location
    Växjö, Sweden
    Posts
    314
    The current thread gets another culture so everything that is created after this gets the new culture settings, but I couldn't find a way to refresh objects allready instantiated..... I'll keep looking if it's possible and get back if noone else does it before me.....

  3. #3

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    I found a C# example that does what I want (its the MLdemo in a Microsoft samples directory somewhere). This suggests to me that it's possible to do what I want in .NET - I just have to find the VB syntax to do it.

    Thanks for looking.

    Tris.
    This world is not my home. I'm just passing through.

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Post the code for the C# example. I'm sure someone will convert it to VB for you.
    Dont gain the world and lose your soul

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