Peter,
This sample should do it completly
\\\
Public Class Main
Public Shared Sub Main()
Threading.Thread.CurrentThread.CurrentCulture = _
New Globalization.CultureInfo("en-AU")
'When you are not in the culture with this settingtis
MessageBox.Show(CDate("01-JUNE-2004 11:59 PM").AddDays(1).ToString)
'The above row is the only thing what is needed when it is in your own
culture setting
'And set the culture back when it was not your own culture
Threading.Thread.CurrentThread.CurrentCulture = _
Globalization.CultureInfo.InstalledUICulture
End Sub
End Class
///
I hope this helps a little bit?
Cor
"Peter" <pe***@mclinn.com> schreef in bericht
news:dc**************************@posting.google.c om...
I have create a small spyware detection utility. I'm looking for code
to restart windows prior to deleting some files.
Does anyone have a class that will do this. I search the msdn site
and found nothing. Clients are running 95-ME and 2000-XP