Hi,
i want to show the current date in two languages.
when i use this code it works, but i have to set the application to the
culture and because this will become a function inside a usercontrol, i do
not want to change the culture for the application just to get a different
language text...
Anyone an idea?
Dim c As CultureInfo
c = New CultureInfo("en-US")
Application.CurrentCulture = c
Dim sEnglish As String = Format(Now, c.DateTimeFormat.LongDatePattern())
c = New CultureInfo("fr-CH")
Application.CurrentCulture = c
Dim sFrance As String = Format(Now, c.DateTimeFormat.LongDatePattern())