[RESOLVED] National language used by an application
Hi guys!
I have developed an application and I am using Swedish as the language on my development computer. Later, I found out that the computer that is going to run my application uses English as language, which causes problems with different strings like float values, date and time. I am not allowed to change the language on the computer that is about to run my application because the computer runs other applications that depend on the English language setting. So, I am wondering if you could maybe send in a parameter or something to the application that tells it to use English language instead of Swedish?
Thanks!
/Stefan
Re: National language used by an application
Hi
which .net version are you using?
Re: National language used by an application
Ahh...sorry about that. Forgot. I am using VB .NET 2005.
Re: National language used by an application
try that
VB Code:
My.Application.ChangeCulture("en-US")
you can also use "en-GB" for english from grat britain
check on cultureinfo for more values
Hope this helps
Re: National language used by an application