> I think you're correct you can only use a date literal with
> Option Strict Off - which is completely back to front!
I'm not at my vb.net machine but I thought it's the other way round:
You have to use a Date type as the default value with Option Strict
On. You *can* use a string as the default value with Option Strict
> Try it with Strict On and see if you have to use German date
> syntax i.e. "01.12.2001"?
I don't think the expression is evaluated at compile time. It's an
assignment of a string to a Date argument. This should cause an error
at compile time With Option Strict On, doesn't it? I'll try when I'm
at my vb.net machine...