A
Avi Farah
I do not know what I did to get this condition and hope
that someone can shed some light on it.
As of late I get a System.ArithmeticException raised by
the System.Drawing module. Steps to getting the
exception in VS.Net 2003 (and VS.Net 2002):
If I run an empty form I do not get the exception. By
empty form I mean that I start VS.Net request a "Windows
Application" in VB.Net or C# and then run the wizard
generated application (I get no exception).
If to the above application I drag a control (like a
textbox, or a button) from the Toolbox, then the
application throws the exception. This exception is
thrown in the InitializeComponent() function's 1st
line:
"this.textBox1 = new System.Windows.Forms.TextBox
();"
I get this exception also when I run programs that I ran
previously without a problem like the: "Microsoft .NET
Framework 1.1 Wizards" part of the Administrative Tools.
Or code provided by one of the .Net books.
I already reloaded VS but to no avail.
Any suggestions?
Many thanks,
Avi
that someone can shed some light on it.
As of late I get a System.ArithmeticException raised by
the System.Drawing module. Steps to getting the
exception in VS.Net 2003 (and VS.Net 2002):
If I run an empty form I do not get the exception. By
empty form I mean that I start VS.Net request a "Windows
Application" in VB.Net or C# and then run the wizard
generated application (I get no exception).
If to the above application I drag a control (like a
textbox, or a button) from the Toolbox, then the
application throws the exception. This exception is
thrown in the InitializeComponent() function's 1st
line:
"this.textBox1 = new System.Windows.Forms.TextBox
();"
I get this exception also when I run programs that I ran
previously without a problem like the: "Microsoft .NET
Framework 1.1 Wizards" part of the Administrative Tools.
Or code provided by one of the .Net books.
I already reloaded VS but to no avail.
Any suggestions?
Many thanks,
Avi