G
Guest
I am migrating my first vb6 app to vb.net 2003.
In the vb6 app a number of subs had optional date parameters:
Sub Fred ( ... ,optional FromDate as Date = 0...)
I need something like zero in there to see if the parameter has been used or
not.
In vb.net the imported code fails with:
Value of type 'Integer' cannot be converted to 'Date'
I have to supply a default value for the date - is there anything I can use
that obviously indicates that the parameter has not been supplied by the
caller?
In the vb6 app a number of subs had optional date parameters:
Sub Fred ( ... ,optional FromDate as Date = 0...)
I need something like zero in there to see if the parameter has been used or
not.
In vb.net the imported code fails with:
Value of type 'Integer' cannot be converted to 'Date'
I have to supply a default value for the date - is there anything I can use
that obviously indicates that the parameter has not been supplied by the
caller?