trace through, and as you're setting the properties, make sure that the date is always valid.
I ran into the same problem the other day on some old code (someone else's), where the year was set last. When Month was set to 2, and the date was set to 29, it threw that error because the year was still 1999, and Feb 29 is invalid for 1999. Setting the year first solved the problem.
>this.year=year(date())
>this.month=month(date())
>this.day=day(date())
>
>The first and last commands work fine, but when it hits the
>month part, it throws and ole exception error 0 message. I've tried using the
Peter Franz