Windows Form Locking up

G

Guest

I have developed a rather large application and am running into a bug that
causes the application to lock up. No exception is ever thrown, it just
simply refuses to take input. The only thing that you can do to the Form is
double click the title bar to restore/maximize the window. Other than that
the menus, navigation buttons, everything cease to respond at all to any user
input. Windows continues to run properly and you can restart the application
(END TASK) and it will run normally again.

I noticed this error I while back and when it occured there would be a
"WindowsFormsParkingForm" or something like that in the ALT-TAB list when the
error occured. Now it doesn't do that anymore. It just causes my app to
essentially freeze and cause my users to do a nasty IT functionality
CTRL-ALT-DEL, end task. I have been unable to locate the error through
debugging.
 
V

vijai thoppae

Add more traces within the form,Enable them & check that out regularly.
Based upon the last few messages you will be able to narrow down the problem
easily.

Good luck,
VT
 
B

BGlacain

mtinderholt said:
I have developed a rather large application and am running into a bug that
causes the application to lock up. No exception is ever thrown, it just
simply refuses to take input. The only thing that you can do to the Form is
double click the title bar to restore/maximize the window. Other than that
the menus, navigation buttons, everything cease to respond at all to any user
input. Windows continues to run properly and you can restart the application
(END TASK) and it will run normally again.

I noticed this error I while back and when it occured there would be a
"WindowsFormsParkingForm" or something like that in the ALT-TAB list when the
error occured. Now it doesn't do that anymore. It just causes my app to
essentially freeze and cause my users to do a nasty IT functionality
CTRL-ALT-DEL, end task. I have been unable to locate the error through
debugging.


FWIW, I have an app that this happens to also. I posted some weeks back a
description of what happens, but never heard back. One thing that also
happens sometimes is that the screen hangs with only some of the controls
drawn. Other times, the screen is painted ok, but just hangs. I have added
trace routines, and any time I can get this to happen (it's random), the
last trace was prior to calling Show on the form. I set the databinding
....etc, add a trace message, call Show and then another trace message. The
message prior to show is logged, the one immediately afterwards isn't. I'm
not entirely sure, but it seems to happen more often on two screens where I
have a datagrid. Do you use databound controls? I am cuurrently trying to
see if the issue lies with databinding.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top