Error message while run window application with C# on Visual Studio.NET

I tired to run a simple window application using C# on VB Studio.NET. After I put a Button object on the Form, then builded and run it, I got an error message saying -- 

An unhandled exception of type 'system.ArithmeticException' occurred in system.drawing.dll
Additional information: overflow or underflow in the arithmetic operation

I have two machines. When I run exactly same on the other machine, it worked.
Any ideas? Maybe it was caused by some software or applications that I installed on this machine?
Thanks.
"Object reference not set to an instance of an object"
0
che3358
4/22/2004 3:13:32 PM
asp.net.getting-started 91979 articles. 4 followers. Follow

3 Replies
604 Views

Similar Articles

[PageSpeed] 47

Could be a driver issue.  The machines aren't exactly the same, are they?
Darrell Norton, MVP
Darrell Norton's Blog


Please mark this post as answered if it helped you!
0
DarrellNorton
4/22/2004 3:27:10 PM
when you say simple application, simple how? 

My thoughts are that this is most likely caused by your code, are you doing any other dialogs or is this a simple form with one button?
0
rodnex
4/22/2004 3:36:51 PM
No. I just created a new window application on VS.NET. A Form appeared as default, then I put a Button on the Form from Toolbar. Then, BUILD the Form, then Start to run it. That's it!.

Before I put the Button on the Form, it worked. But, after I moved a Button on the Form, I got the error message. I think the Form doesn't involve the Drawing.dll but Button does.
I installed .NET framework and VS.NET on two computers. Of course, there are different sofeware and applications on two machines. However, while I did same for two machines, one workd fine, ohe got the error. Therefore, I guess it was caused by some applications or as DarrellNorton said Driver problem?
Thanks.
"Object reference not set to an instance of an object"
0
che3358
4/22/2004 5:10:58 PM
Reply:

Similar Artilces:

Error message while run window application using C# on Studio.NET
I tired to run a simple window application using C# on VB Studio.NET. After I put a Button object on the Form, then builded and run it, I got an error message saying -- An unhandled exception of type 'system.ArithmeticException' occurred in system.drawing.dll Additional information: overflow or underflow in the arithmetic operation I have two machines. When I run exactly same on the other machine, it worked. Any ideas? Maybe it was caused by some software or applications that I installed on this machine? Thanks."Object reference not set to an instance of an object&quo...

Error:Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the We
Hi, I installed the IIS 5.0 after VS.Net 2003 (1.1). after that I did run the aspnet_regiis -i at the visual studio command prompt. I am able to run local web application created on my PC. But when I tried to copy an web application created at shared PC into the wwwroot folder, I get the following error while trying to open the project in VS.Net. I've created the virtual directory for the project and also set the integrated windows authentication under the directory security tab in the IIS. Please help me resolving the problem. Thank You.   Do you have FrontPage Server Ext...

Converting windows application using web service from Visual C#.net 2003 to Visual Studio.net 2005
Hello, everyone! I have a solution which contains a windows project,a web service project and several other library projects. These projects were coded under visual c#.net 2003. Now I need to converted them to use Visual Studo.net 2005. Does any one know any article providing step-by-step guide  to converting WINDOWS APPLICATION with web service? I can find one under MSDN for converting web project.  But I guess I am a little confused if mine should follow this article since I am using web service in my windows application? Thanks a lot in advance.  ...

Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Deve
I installed Visual Studio .NET 2003 on Windows Vista Home Premuim, but I'm unable to select "Web Development" item from "Server Components" during the installation. I installed all the pre-requisits but I can not see Front Page Server Extention in the programs. I can see also the IIS. Appreciate if any one can guide me with the solution.   Thanks.   FPSE is not included with Vista, it's a separate download.  See www.iis.net for this. JeffPlease: Don't forget to click "Mark as Answer" on the post that helped you. Tha...

Migrating from Visual Studio .NET 2003 Windows Application to Visual Studio 2005 Web Application
How do I migrate a Visual Studio .NET Windows Application to Visual Studio 2005 Web Application. Are there any tools available for this.  As far as I know there is no direct migration path. You convert VS2003 to VS2005 and then to VS2005 Web Application.Don't forget to click "Mark as Answer" on the post that helped you.This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped. manish kumar: How do I migrate a Visual Studio .NET Windows Application to Visual Studio 2005 Web Application. Are there any tool...

Visual C#.Net vs Visual Studio.Net
I have read in other posts a lot of people recommending Visual Studio.Net over the Web Matrix. My query is: why is there a £700 difference between VS.Net and Visual C#.Net? As a c# developer, I won't need any VB functionality. I also don't require Visual Source Safe, as projects are generally small and manageable. What features are lacking in Visual c#.net that justifies the price difference? Does it have Intellisense / Dubuggers / Compilers? These are the features that would make me pay for it instead of continuing with WM, but I need to know if tehre is serious functionality missin...

error message: "Visual Studio .NET cannot create the application <application>. The likeliest problem is that required components are not installed on the local Web server."
after enabling ssl using iis certificate services, creating and installing server and client certificates; i encountered this message when i try to reopen the project in vs 2003. how to work with ssl web apps in vs.net. please reply asap......

Smart Device Application for file transfer to a remote server in .Net Compact Framework (Using Visual Studio.Net 2003,C# code)
Dear all, We are developing a smart device application (using C# code) for .Net Compact Framework where we need to write a programme in C# code to transfer a file from mobile device to remote server/machine.Can anyony help us regarding this aaplication.If you have already done this or you find any article/link regarding to this application then please let me know about that. My mail id : anirbandas.ju@gmail.com Looking forward for your reply soon. Regards Anirban   hi hav u got any solution , becoz i too need. plz share with me...

FIX: The IntelliSense feature for a Visual C# .NET project stops working in the Visual Studio .NET IDE
Ever got mad because your IntelliSense disappeared? Microsoft finally heard you: http://www.kbalertz.com/Feedback_838470.aspx or: http://support.microsoft.com/default.aspx?scid=kb;EN-US;838470 MCSD, MCDBA, MCAD, MCSD .NET, MSF Practitioner...

visual studio.net 2003 conflict visual studio.net 2003
hello does visual studio.net 2003 makes conflict with visual studio.net 2003? thank you for the help and for the support No, the RTM version (I think this is true also for Beta 2), will work on the same machine without any problems./Fredrik Normén - fredrikn @ twitterMicrosoft MVP, MCSD, MCAD, MCTASPInsidersMy Blog i am shure 2003 doenst conflict with 2003 ;-)-Hanneshttp://www.preishuber.net http://weblogs.asp.net/hpreishuber the subject says "visual studio.net 2003 conflict visual studio.net 2003". is he talking about 2003 and 2005 ? pradeep_TP I think he is talking abo...

Visual Studio .NET vs Visual Studio .NET 2002 or 2003?
As an admin, I'm working to determing what systems I need to update with the update on MS08-017, particularly with respect to Visual Studio .NET 2002 and 2003. I've got quite a few systems that appear to have Visual Studio .NET, no 2002 or 2003 mentioned when I view what's there in Add/Remove Programs. Is there a definitive way to determine if I have a 2002 or 2003 version?   sandy_wood:Is there a definitive way to determine if I have a 2002 or 2003 version? In add/remove programs it would indicate it VS2003 as Visual Studio 2003. Alternatively launch the applicatio...

Activex Componants, Visual Studio.net and C#.net
As part of a university project i have to a create an activex componant that times the download of a file of known size. This is so that my website can measure the bandwidth of any client machine that accesses it.I am coding my website in C#.net using visual studio.net 2003, i have never used activex before and am unsure of how to link my web site to an activex componant let alone code the activex componant.Below i have wrote an algorithm of what i believe the activex componant will do. I am unsure of whether this is correct.Start downloadStart timerError = Falsewhile error = false &nbs...

Getting error with visual studio .net
I installed the visual studio .net 2003 on my computer, and when I do a VB .NET aplication it works perfect. But when I try to create a ASP .NET project I get an error MSG saying "Visual Studio .net has detected that the server is not running ASP .NET version 1.1. You will be unable to run ASP .NET web applications or services." And I have ASP .NET Version 1.1 on my computer   u need to run aspnet_regiis command http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfASPNETIISRegistrationToolAspnet_regiisexe.asp Do you have the asp.net 1.1 framework o...

Visual Studio .Net? Visual Basic .Net?
Okay, I admit it -- I know nothing about .Net. I'm a Visual Basic and ASP developer. DotNetNuke is my first tentative step into the whole ".Net Thing", and I'm looking for some advice... What do I really need to be able to make some modifications, or new modules for DotNetNuke? Do I need the full, THOUSAND DOLLAR Visual Studio .Net 2003 package, or can I get away with the HUNDRED DOLLAR Visual Basic .Net Standard package?Chameleon Systems, Inc. You can use webmatrix, available here for free. One of the drawbacks of webmatrix however is that it does not support code-be...

Web resources about - Error message while run window application with C# on Visual Studio.NET - asp.net.getting-started

Application - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Report: Apple’s quest for retail stores in India on track as government plans to approve application
... Apple , and India . What do you think? Discuss "Report: Apple’s quest for retail stores in India on track as government plans to approve application" ...

Stugan Games Accelerator Opens Applications for 2016
Games accelerator Stugan has opened its application process for its 2016 summer program. The program will accept 20 aspiring game developers, ...

eHosting DataFort to provide next generation data centre services with its Cisco Application-Centric ...
Al-Bawaba eHosting DataFort to provide next generation data centre services with its Cisco Application-Centric Infrastructure ... Al-Bawaba ...

Remote application server streamlines Windows desktop delivery
... that they need is therefore a challenging task. Cross platform solutions specialist Parallels is launching a new version of its Remote Application ...

Tech City UK received just 37 applications for a visa route that allows 200
Tech City UK, a taxpayer-funded government organisation, has received just 37 applications since April 2015 for a dedicated technology visa that ...

Toshiba Launches 40V N-ch Low ON-resistance Power MOSFET for Automotive Applications
Toshiba launched a 40V N-ch power MOSFET, &quot;TKR74F04PB,&quot; for automobile applications, including DC-DC converters, high capacity motor ...

MBA: Mortgage Applications Increased in Latest Weekly Survey, Purchase Applications up 22% YoY
From the MBA: Mortgage Applications Increase as Rates Continue to Drop in Latest MBA Weekly Survey Mortgage applications increased 8.8 percent ...

Mortgage applications jump 9.3%
A sharp drop in interest rates prompted more homeowners to refinance their mortgages, especially those with large loans.

The USPTO updates their refusal of Sony's 'Let's Play' trademark application
... and Trademarks Office shot them down. What was interesting was the USPTO’s justification for doing so. They didn’t originally deny the application ...

Resources last updated: 2/12/2016 1:15:11 PM