
Assigning sentence error with VB 5.0 with SP3
Hello,
I am in trouble because a weird situation when I'm just assigning a date
variable to another date variable. Sometimes I am receiving a overflow
error message although both variables are initialized and contain
correct date values. So, I overtook doing the following:
On Error Resume Next
dInitialDate = dActualDate
On Error GoTo 0
dInitialDate = dActualDate
and this work properly, obviously this solution does not allow me to
know what is happening, and these errors are growing in my application.
I am using Option Explicit and everything is well defined. This project
uses COM dll's and the Calendar Widgets from Sheridan, and the problems
only have come from forms using this control. The affected code is
inserted both in control events and functions.
Thank in advance for your soonest reply.