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

Visual Basic

 
AnswerRe: Vb.Net MDI Back Image Pin
Dave Kreskowiak11-Dec-05 3:29
mveDave Kreskowiak11-Dec-05 3:29 
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 
OmarMallat wrote:
but let we say that while my application is running, the user go to the regional setting and change the format manually


Not likely, but it's possible. Changing the system-wide regional settings is usually done only once and left that way. Changing it in the control panel effects the ENTIRE system, not just your applicaiton.


OmarMallat wrote:
so my variable still having the old format, and several problems may occur...


In normal applications, it's expected that if a change like this is made, the application must be restarted for the change to take effect. There is no SystemEvent that tells you that the locale was changed.

When your application starts, it starts with the culture settings specified in the Regional control panel. The bigger question is, why is your application switching cultures after it starts?

If the date format is that critical, and NOT tide to the culture settings, why don't you just offer this format as a configuration option in your application. This setting will effect only your application and can be changed at any time.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: GetLocalInfo not working with VB.NET 2005 Pin
Omar Mallat11-Dec-05 5:44
professionalOmar Mallat11-Dec-05 5:44 
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 

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.