Overflow or underflow in the arithmetic operation when instantiating form

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

I have a VB.NET framework 1.1 application that I am installing on my user's
workstation. It works fine on EVERY machine except for one - on this one
machine it generates a 'Overflow or underflow in the arithmetic operation'
when I attempt to instantiate my first form, as so:

Dim frm As New frmMyForm()

Based on some things I saw here, I thought it might be that this workstation
didn't have a MS Sans Seriff font on it (since that is the forms default
font); however, turns out it did have the font installed. I even went so far
as to delete the sans seriff font and copy the one from my machine to this
one (in case the font was corrupted)... no difference, still has the same
error.

Any ideas? What else should I look for that could be different on this
machine?

Tom
 
Hi Tom,

I have a couple of questions:

1. Does this error occur on any Form or just a specific Form?
2. If the answer to 1 is a specific Form than what code is in the constructor (New()) of this form?

Craig VB.Net Team
 
Believe it or not, we found out that the problem was with WeatherBug. The
customer that was having this error with our app took off WeatherBug and the
problem went away. Don't know what WeatherBug does that messes up .NET, but
it sure was causing that issue.

Anyway, that fixed it.

Tom

Craig Vick said:
Hi Tom,

I have a couple of questions:

1. Does this error occur on any Form or just a specific Form?
2. If the answer to 1 is a specific Form than what code is in the
constructor (New()) of this form?
 
Interesting! I'm not familiar with WeatherBug and have no idea how it could cause this.

Thanks for the update.

Craig VB.Net Team
 
Back
Top