Overflow or underflow in the arithmetic operation when instantiating form

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
 
C

Craig Vick [MSFT]

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
 
T

Tom

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?
 
C

Craig Vick [MSFT]

Interesting! I'm not familiar with WeatherBug and have no idea how it could cause this.

Thanks for the update.

Craig VB.Net Team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top