PDA

Click to See Complete Forum and Search --> : Refresh form after changing Culture


trisuglow
Nov 27th, 2002, 02:31 AM
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?

Athley
Nov 27th, 2002, 04:06 AM
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.....

trisuglow
Nov 27th, 2002, 04:09 AM
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.

DevGrp
Nov 27th, 2002, 10:06 AM
Post the code for the C# example. I'm sure someone will convert it to VB for you.:)