Windows Develop Bookmark and Share   
 index > Windows Forms General > Debuging Windows Form Error?!
 

Debuging Windows Form Error?!

Hello,

I'm trying to Debuging Windows Form....

my problem is that when the form finishs loading, it just closes....

i've tryed also runing the form (exe) normally...(by double click) and i see the form flashing on the screen...

(opening and closing)...

anyone knows what could be the problem?

AndrePeixoto  Monday, April 02, 2007 4:27 PM
Let's see the code in your form load event.

Nothing like a Me.Close() in there?

David
just david  Monday, April 02, 2007 9:13 PM
try wiring up the Form's Closing event. Just do it so you can put a breakpoint in it. Then when you run the program and the Form closes, you can see what is making it close.
JeroGrav  Monday, April 02, 2007 11:41 PM
Let's see the code in your form load event.

Nothing like a Me.Close() in there?

David
just david  Monday, April 02, 2007 9:13 PM
try wiring up the Form's Closing event. Just do it so you can put a breakpoint in it. Then when you run the program and the Form closes, you can see what is making it close.
JeroGrav  Monday, April 02, 2007 11:41 PM

You can use google to search for other answers

Custom Search

More Threads

• GUI Not Refreshing with ThreadSafe Code
• Terrible flicker problem when switching panels.
• ToolStripMenuItem (image and text) disabled causing "Out of memory"
• How can I disable "Button.FlatAppearance.MouseOverBackColor" ?
• Open Multiple Forms in secondary Screen
• Capturing Enter Key and stopping it
• column order
• How do I force controls to repaint during a loop
• C#; Serial Communication and Threads
• delete element in bitmap