By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,786 Members | 1,143 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,786 IT Pros & Developers. It's quick & easy.

Overflow or underflow in the arithmetic operation when instantiating form

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
From: "Tom" <to*@nospam.com>
Subject: Overflow or underflow in the arithmetic operation when instantiating form
Date: Mon, 26 Jul 2004 14:11:31 -0400
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#C**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: fw.paragen.com 66.184.200.226
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:219139
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

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

Nov 20 '05 #2

P: n/a
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
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
From: "Tom" <to*@nospam.com>
Subject: Overflow or underflow in the arithmetic operation when instantiating form
Date: Mon, 26 Jul 2004 14:11:31 -0400
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#C**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: fw.paragen.com 66.184.200.226
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:219139
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

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

Nov 20 '05 #3

P: n/a
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 [MSFT]" <cr*****@online.microsoft.com> wrote in message
news:tK****************@cpmsftngxa10.phx.gbl...
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
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
From: "Tom" <to*@nospam.com>
Subject: Overflow or underflow in the arithmetic operation when instantiating formDate: Mon, 26 Jul 2004 14:11:31 -0400
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#C**************@tk2msftngp13.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: fw.paragen.com 66.184.200.226
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!tk2msftngp13
..phx.gblXref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:219139
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

I have a VB.NET framework 1.1 application that I am installing on my user'sworkstation. 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 workstationdidn'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 faras to delete the sans seriff font and copy the one from my machine to thisone (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


Nov 20 '05 #4

P: n/a
Interesting! I'm not familiar with WeatherBug and have no idea how it could cause this.

Thanks for the update.

Craig VB.Net Team
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
From: "Tom" <to*@nospam.com>
References: <#C**************@tk2msftngp13.phx.gbl> <tK**************@cpmsftngxa10.phx.gbl>
Subject: Re: Overflow or underflow in the arithmetic operation when instantiating form
Date: Tue, 3 Aug 2004 12:31:31 -0400
Lines: 72
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <up**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: fw.paragen.com 66.184.200.226
Path: cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:221371
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

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 [MSFT]" <cr*****@online.microsoft.com> wrote in message
news:tK****************@cpmsftngxa10.phx.gbl...
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
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
>From: "Tom" <to*@nospam.com>
>Subject: Overflow or underflow in the arithmetic operation wheninstantiating form >Date: Mon, 26 Jul 2004 14:11:31 -0400
>Lines: 20
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <#C**************@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.dotnet.languages.vb
>NNTP-Posting-Host: fw.paragen.com 66.184.200.226
>Path:cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSF TNGP08.phx.gbl!tk2msftngp13
.phx.gbl >Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:219139
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
>I have a VB.NET framework 1.1 application that I am installing on myuser's >workstation. It works fine on EVERY machine except for one - on this one
>machine it generates a 'Overflow or underflow in the arithmeticoperation' >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 thisworkstation >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 sofar >as to delete the sans seriff font and copy the one from my machine tothis >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
>
>
>



Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.