473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Overflow or underflow in the arithmetic operation when instantiating form

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
4 4116
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: William Ryan | last post by:
As an experienced Java Programmer, trust me on this, stick with .NET if you are already using it. It's hard to tell based on what you post. Is all of your code wrapped in an exception handler? ...
7
by: Oplec | last post by:
Hello, How can underflow and overflow of the basic arithmetic types be tested for using standard C++? For instance, if two long doubles are multiplied together, test whether or not the result...
5
by: Codemonkey | last post by:
Hi, When I first installed Visual Studio 2003, I noticed I was getting the follow error when showing a form: A first chance exception of type 'System.ArithmeticException' occurred in...
2
by: Paul Emmons | last post by:
Can anyone suggest example code, or how to proceed, in adding or subtracting two long long integers (I'm working in gcc with Linux, where a long long is 64 bits) and determining whether an overflow...
5
by: Ian Pilcher | last post by:
I'm trying to figure out if an increment to a variable of an integer type, followed by a decrement, (or vice versa) is guaranteed to restore the variable to its initial value, even if the first...
4
by: glenn | last post by:
I have a COM Server I've written in C#. I have a client app I've written in Delphi that is calling the C# COM Server. However, one of the functions in the COM Server creates a form and during the...
3
by: jer006 | last post by:
Hi I am writing a select statement that has an arithmetic function inside a case statement that uses logic to decide whether to divide or multiply and when I run the arithmetic statements outside...
4
by: Raymond | last post by:
Source: http://moryton.blogspot.com/2007/08/detecting-overflowunderflow-when.html Example from source: char unsigned augend (255); char unsigned const addend (255); char unsigned const sum...
42
by: thomas.mertes | last post by:
Is it possible to use some C or compiler extension to catch integer overflow? The situation is as follows: I use C as target language for compiled Seed7 programs. For integer computions the C...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.