Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Visual Studio .NET
Testing, Quality Control, Debugging
Infinite Redraw Loop with "Program not Responding" Message
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="ibby, post: 145558, member: 35349"] Hello Community, I have an urgent problem to which I would appreciate quick replies. I have written a program for a school project which graphs mathematical equations. Within Visual Studio (in debug mode) everything works perfectly. However, when I publish the program and run it as an installed application, I get the following problem: If the user enters a complicated function, the prorgam can take considerable time (i.e. about 10 seconds or more) to compute its graph. The graph is first generated in memory on a bitmap and then printed onto a control using GDI+. The problem is that sometimes windows indicates that the program has stopped working while the graph is still being computed, which of course is not the case - its just taking a long time. When the computation actually finishes, the program window flashes, probably redrawing itself, and that causes the graph to be computed again. This in turn results in Windows thinking the program crashed again and so the loop continuous. I really have no idea what is causing windows to think that the program is not responding, as it works perfectly in Visual Studio... I am using Windows 7 and .Net 4. I will of course give any other details/coding required to solve this problem. I am quite frustrated as I have to hand the program in soon :bawling:.... Thanks for helping out! [/QUOTE]
Insert quotes…
Verification
Post reply
Visual Studio .NET
Testing, Quality Control, Debugging
Infinite Redraw Loop with "Program not Responding" Message
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom