473,394 Members | 1,869 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,394 software developers and data experts.

Application not responding

6
Hi, I am new to C#. I am developing a calculator to get a feel of the language and get used to MS Visual C# Enterprise edition.
1. I was able to perform the basic operations (Addition, Subtraction, Division, Multiplication and Square root).
2. I am creating/appending the value to the variable in the numbered buttons.
3. Clearing the textbox upon selecting the desired operation.

What could cause the application to hault and not respond at all? I need some direction. Could anyone help please?

Thanks
Oct 15 '08 #1
5 1351
SvenV
50
So your application is halting and you want to solve it or you want a way to halt your program?
If your program is halting, when is does this occur (after which operation)?

Regards,
Oct 15 '08 #2
kenobewan
4,871 Expert 4TB
You'll need to be more specific. Do you finally get an error code? Have you set a time out period for transactions? Is there a line or part of the code where this always happens?
Oct 15 '08 #3
sgmbuk
6
Hi, the application does not show any errors. When I click on any button on the application the application seams to hault. So, the button apears to be pressed and it takes a minute or two to come up.
If I click on many buttons at the same time the window shows the message "(Not Responding)" next to the form label at the top.

What I want is to be able to do is:
1. Construct strings using the numbered buttons (1, .. 0), save it and covert it to an integer.
2. Select an operation to be performed by clicking on the operations (Addition, Multiplication, subtraction and division)
3.Construct the secod strings using the numbered buttons (1, .. 0), save it and covert it to an integer.
4. Perform the operation selected on both integer values.
5. Display the result in the same textbox.
Oct 15 '08 #4
Barok
10
sounds like an infinite loop. did you debug your code?
Oct 15 '08 #5
sgmbuk
6
It was an infinate loop. Thanks very much.
Oct 15 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: serge calderara | last post by:
Dear all, I have an application which is suppose to start another executable process. As soon as that process is running, I need to retrive its handle. The problem of the particular process I am...
19
by: Frank Rizzo | last post by:
I want to log the user out when there has been a period of inactivity in the application. The key here is inactivity of the application, not the system. I know that you can retrieve the...
2
by: Rythm Music | last post by:
Sometimes my application stops responding. However I do not see an error and not sure what to do. Any help will be great. *** Sent via Developersdex http://www.developersdex.com ***...
0
by: Nedu N | last post by:
Hi, I am developing a ASP.NET web application which consumes a web service from a remote machine...the problem that i am frequently facing is that application is not responding (it just stays on...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
4
by: Kalyani Vezzu | last post by:
Hello all, I tried to write a program to search files in the given directory in Vb .net using directoryinfo object in a recursive function without multithreading. When the directory contains...
2
by: kevininstructor | last post by:
I want to prevent a user from closing an application while doing critical operations. The following code (concept came from MSDN) works except for when the user attempts to terminate via "Task...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
7
by: dadocsis | last post by:
I have a custom VB.net application that runs a query against an SQL server that takes more than 3 minutes. Right now after 3 minutes it times out. So far after doing my research I have changed the...
6
by: Allan Ebdrup | last post by:
I have a webservice written in dotNet1.1 that does some stuff and calls a webservice written in dotNet 2.0. I'm using a Visual Studio 2005 webtest and loadtest to test webservice. When I load...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.