System DateTimeFormat
-
Hi, I wanna change the system date time format and resolution For system date time format i used this code
Dim tmpCurrentCulture As System.Globalization.CultureInfo tmpCurrentCulture = New System.Globalization.CultureInfo("en-US") tmpCurrentCulture.DateTimeFormat.ShortDatePattern = "MM/dd/yyyy" System.Threading.Thread.CurrentThread.CurrentCulture = tmpCurrentCulture MsgBox(System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.ToString)
it shows the format MM/dd/yyyy but when i check i controlpanel->regional settings->customise date the format is not changed to MM/dd/yyyy And second thing how can i change the resolution 1024 by 768 pixcel Thanks with anticipationsUnless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
-
Hi, I wanna change the system date time format and resolution For system date time format i used this code
Dim tmpCurrentCulture As System.Globalization.CultureInfo tmpCurrentCulture = New System.Globalization.CultureInfo("en-US") tmpCurrentCulture.DateTimeFormat.ShortDatePattern = "MM/dd/yyyy" System.Threading.Thread.CurrentThread.CurrentCulture = tmpCurrentCulture MsgBox(System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.ToString)
it shows the format MM/dd/yyyy but when i check i controlpanel->regional settings->customise date the format is not changed to MM/dd/yyyy And second thing how can i change the resolution 1024 by 768 pixcel Thanks with anticipationsUnless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
Well, the date time format question is easy. All you have done is set the currenlty running thread to the new date format, not the PC. There was another post recently about how to change the system date and/or format, it should point you in the right direction - and probably for the resolution settings too.
Bob Ashfield Consultants Ltd
-
Well, the date time format question is easy. All you have done is set the currenlty running thread to the new date format, not the PC. There was another post recently about how to change the system date and/or format, it should point you in the right direction - and probably for the resolution settings too.
Bob Ashfield Consultants Ltd
Thanks for reply Actually i wanna change the system short date format for doing this i have tried registery and Current Thread Culture but it fails in some condintion so i wanna do it in right way with also change the resolution of Pc
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...