Click here to Skip to main content
15,920,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionError icon in datagrid Pin
oakleaf10-Dec-05 4:21
oakleaf10-Dec-05 4:21 
QuestionMerging files Pin
elms10-Dec-05 3:01
elms10-Dec-05 3:01 
AnswerRe: Merging files Pin
Dave Kreskowiak10-Dec-05 4:54
mveDave Kreskowiak10-Dec-05 4:54 
QuestionGetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 2:53
professionalOmar Mallat10-Dec-05 2:53 
AnswerRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak10-Dec-05 4:45
mveDave Kreskowiak10-Dec-05 4:45 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat10-Dec-05 6:27
professionalOmar Mallat10-Dec-05 6:27 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 3:13
mveDave Kreskowiak11-Dec-05 3:13 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 5:44
professionalOmar Mallat11-Dec-05 5:44 
Thank you very much for your comments.

my application has an options to run with multi interface and culture. and it runs with the last option selected.

I found a problem while converting date, if there is a diffrence between the date format in regional setting and my application.

but if I know that in regional setting, I can convert date as I want without any problems.

now, what I do is that:

when I want to search any date, this date is in the format of the current culture selected by the application, while the database store the date with the regional setting format. this diffrence may cause that the date selected by the user will never be found...

so always, I convert date from my application culture to regional setting format to prevent error.

you have right that if a user change the regional setting format while the application is running, it must be restarted. but if I read the regional setting format with every date conversion, I prevent error, and no need to restart application.

Any way, my problem can be found on this article:
URL : http://www.codeproject.com/script/comments/forums.asp?msg=1301729&forumid=1646#xx1301729xx
please read the first comment to get the right problem.

OmarMallat
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 6:28
mveDave Kreskowiak11-Dec-05 6:28 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 6:31
professionalOmar Mallat11-Dec-05 6:31 
GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Dave Kreskowiak11-Dec-05 13:42
mveDave Kreskowiak11-Dec-05 13:42 
QuestionPrinting a form without the background. Pin
Samadara10-Dec-05 2:23
Samadara10-Dec-05 2:23 
QuestionCrystal Report Pin
tusar12310-Dec-05 0:57
tusar12310-Dec-05 0:57 
QuestionDataGrid Height . Pin
microuser_20009-Dec-05 23:52
microuser_20009-Dec-05 23:52 
AnswerRe: DataGrid Height . Pin
oakleaf10-Dec-05 4:14
oakleaf10-Dec-05 4:14 
QuestionTypeEditor for Extended Property Pin
xstoneheartx9-Dec-05 19:09
xstoneheartx9-Dec-05 19:09 
QuestionCapture image in VB.Net through Webcamera Pin
Pratap Chowdary9-Dec-05 17:50
Pratap Chowdary9-Dec-05 17:50 
Questionobject not set to instance Pin
ibigpapa9-Dec-05 15:36
ibigpapa9-Dec-05 15:36 
AnswerRe: object not set to instance Pin
Joshua Quick9-Dec-05 17:10
Joshua Quick9-Dec-05 17:10 
AnswerRe: object not set to instance Pin
ibigpapa9-Dec-05 21:07
ibigpapa9-Dec-05 21:07 
GeneralRe: object not set to instance Pin
Joshua Quick12-Dec-05 9:09
Joshua Quick12-Dec-05 9:09 
GeneralRe: object not set to instance Pin
ibigpapa12-Dec-05 13:20
ibigpapa12-Dec-05 13:20 
GeneralRe: object not set to instance Pin
Joshua Quick12-Dec-05 13:46
Joshua Quick12-Dec-05 13:46 
QuestionCondition in WHERE clause in SQL Pin
andy389-Dec-05 15:26
andy389-Dec-05 15:26 
AnswerRe: Condition in WHERE clause in SQL Pin
uktrips0079-Dec-05 19:07
uktrips0079-Dec-05 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.