I've a situation here.
Public Shared Function ConvertStringToDateTime(ByVal s As String) As [Object]
Dim format As New System.Globalization.CultureInfo("en-GB", True)
Return DateTime.Parse(s, format)
End Function
This function can't parse the string correctly and throw me the "Object reference not set to an instance of an object." error message.
I've this line in my Web.config file as well.
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB" />
When I set the CultureInfo in my ConvertStringToDateTime function to false, or when I remove the format when I parse the string into the DateTime, NO ERROR.
For more information, my current Regional and Language Options is set to English (United Kingdom).
Any idea what cause this?
Thanks and regards,
eddykuan 
unsigned eddykuan... :P