"Harsha Shah" <ha********@hotmail.com> schrieb:
I have an application that requires specific date format on user's system,
so they have to do the setting throgh control panel-> regional setting ->
customise -> date -> short format -> dd/MM/yyy.
If I want to do the same thing automatically when my vb.net application
start, then how can I, any samples available,
I suggest to take a look at the 'System.Globalization' namespace,
'CultureInfo', and 'DateTimeFormatInfo'. In addition to that, you can
specify a certain format string for 'Date.ToString', Date.Parse', and
'Date.ParseExact'.
Applications SHOULD NOT require a certain date format to be applied to the
whole system.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>