Application not responding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sgmbuk
    New Member
    • Oct 2008
    • 6

    Application not responding

    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
  • SvenV
    New Member
    • Oct 2008
    • 50

    #2
    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,

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      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?

      Comment

      • sgmbuk
        New Member
        • Oct 2008
        • 6

        #4
        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.

        Comment

        • Barok
          New Member
          • Sep 2007
          • 10

          #5
          sounds like an infinite loop. did you debug your code?

          Comment

          • sgmbuk
            New Member
            • Oct 2008
            • 6

            #6
            It was an infinate loop. Thanks very much.

            Comment

            Working...