Home All Groups Group Topic Archive Search About
Author
4 Apr 2005 4:20 PM
mark
Public Shared Const Close As System.Windows.Forms.CaptionButton = 0

the caption button.close it closing the application form but leaving a
process running,
how do i stop this from happening ? - i remember solving this a while back
but have since forgotten
(and it wasnt in code)

cheers

mark

Author
4 Apr 2005 5:13 PM
Herfried K. Wagner [MVP]
"mark" <m***@remove.com> schrieb:
> Public Shared Const Close As System.Windows.Forms.CaptionButton = 0
>
> the caption button.close it closing the application form but leaving a
> process running,
> how do i stop this from happening ? - i remember solving this a while back
> but have since forgotten


I don't see how the problem of leaving a process running is related to
'CaptionButton'.  Can you post the code you are using to close the form?

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
5 Apr 2005 7:42 AM
mark
>
>
> I don't see how the problem of leaving a process running is related to
> 'CaptionButton'.  Can you post the code you are using to close the form?
>
there is no code, you hit the X to close the app and it leaves its process
running, can get round it with code,
but i remember being able to set an option somewhere.

mark
Author
5 Apr 2005 8:50 AM
Herfried K. Wagner [MVP]
"mark" <m***@remove.com> schrieb:
>> I don't see how the problem of leaving a process running is related to
>> 'CaptionButton'.  Can you post the code you are using to close the form?
>>
> there is no code, you hit the X to close the app and it leaves its process
> running, can get round it with code,
> but i remember being able to set an option somewhere.

Maybe it's one of the variations of this bug:

Windows Forms Bug
<URL:http://www.jelovic.com/weblog/e41.htm>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>