|
|
Questions and Answers
Started by stojce at 08-09-2006 12:08 PM. Topic has 8 replies.
 
 
|
|
Sort Posts:
|
|
|
|
08-09-2006, 12:08 PM
|
stojce
Joined on 08-08-2006
Posts 2
|
|
|
I have non-US regional settings and when I try to load DLL, Framework class trows excepton (due to datetime format for log file)
Also, the price is miscalculated due to currency format.
|
|
|
|
|
Report
|
|
|
|
08-09-2006, 2:59 PM
|
asimon
Joined on 03-07-2006
Posts 140
|
|
|
|
Interesting comment.
I have not tested this program with other regional settings.
If you could post more details about the error message as well as your particular regional setting, that would help me find out where to look for the errors with the filename as well as the parsing error with the price.
Thanks!
|
|
|
|
|
Report
|
|
|
|
08-09-2006, 3:44 PM
|
stojce
Joined on 08-08-2006
Posts 2
|
|
|
The simplest solution is to put these lines in Main() section (in 4XLab.NET) :
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
Application.Run …
This will force application to work with US settings.
|
|
|
|
|
Report
|
|
|
|
08-14-2006, 2:41 PM
|
GraemeE
Joined on 08-14-2006
Posts 2
|
|
|
Alternatively, you can temporarily change your regional options to US though the control panel if you don't have the source code.
|
|
|
|
|
Report
|
|
|
|
08-14-2006, 2:41 PM
|
GraemeE
Joined on 08-14-2006
Posts 2
|
|
|
Alternatively, you can temporarily change your regional options to US though the control panel if you don't have the source code.
|
|
|
|
|
Report
|
|
|
|
10-06-2006, 3:28 PM
|
asimon
Joined on 03-07-2006
Posts 140
|
|
|
|
|
|
10-06-2006, 8:14 PM
|
avinash66
Joined on 10-06-2006
Posts 3
|
|
|
Thanks, I guess that means can't get it because I don't know how to contribute
|
|
|
|
|
Report
|
|
|
|
|
4XLab.NET : For... » 4XLab.NET » Questions and A... » Re: Error in Base.DLL
|
|
|
|