First, i'm never encounter this error, but try to help you.
Check compilation options (Project properties/Compile/Advanced optimizations). At first time, uncheck all advanced optimizations (these optimizations affect only compiled .exe file!!!). If error disappear, possible reason(s) for it may had been "Remove Floating Point Error Checks" or (most probably) "Allow Unrounded Floating Point Operations". Also, if program is running on old Pentium processor, possible reason is also "Remove Safe Pentium(tm) FDIV Checks".
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...