|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Weird problemHello all:
I am running a windows desktop application developed in VB.NET. I have a stop button in the application which would stop the current running process by raising an exception. Everything works fine except that the application closes as soon as the the event handler subroutine is completed by calling the closing event of the application. I was looking at the call stack trace but could not find anything useful. I'm not sure why that would happen. Anyhelp in this regard is greatly appreciated! Thanks in advance. Idle,
How do you think that we can know what happens, if the button event is that there should be done a power down, than your application will probably stop. Therefore show us the code that does stop the proces. Cor Show quoteHide quote "IdleBrain" <indianmostwan***@yahoo.com> schreef in bericht news:1152105635.215008.3990@l70g2000cwa.googlegroups.com... > Hello all: > I am running a windows desktop application developed in VB.NET. > I have a stop button in the application which would stop the current > running process by raising an exception. Everything works fine except > that the application closes as soon as the the event handler subroutine > is completed by calling the closing event of the application. > > I was looking at the call stack trace but could not find anything > useful. I'm not sure why that would happen. > > Anyhelp in this regard is greatly appreciated! > > Thanks in advance. > Hello:
Thanks Cor. I found out the problem though. I had set the form's CancelButton to the stop button on the form which was for some unknown reason was calling the form's closing event.
Get object from name
Multithread Revisted how to parse an Enum Structure in vb.net Removing the " Web Form Designer Generated Code " region after converting from ASP.NET 1.1 to ASP.NE Need help on windows service and timer Getting form to run its load event without showing form Confused About Dispose and Finalize in VS.Net Who is using a given port? Convert Color image to Gray Shade Image Which would be better MS ACESS or SQL Server for VB Desktop application |
|||||||||||||||||||||||