I need to force a exit if a critical file is not found???
how do I exit a form ??
Collapse
This topic is closed.
X
X
-
SimonTags: None -
Robin Tucker
Re: how do I exit a form ??
Program exit:
Application.Exi t
Form close
theForm.Close :)
"Simon" <Simon@microsof tforums.com> wrote in message
news:OrzydAvgFH A.2880@TK2MSFTN GP14.phx.gbl...[color=blue]
>I need to force a exit if a critical file is not found???
>
>[/color]
-
Armin Zingler
Re: how do I exit a form ??
Simon schrieb:[color=blue]
> I need to force a exit if a critical file is not found???[/color]
To close a form, call it's close method. To exit an appliation, exit all
threads. To exit a thread, exit all procedures in reverse order. To exit a
UI thread, close the form passed to Application.Run or the one set as the
"startup object" in the project properties. To exit Application.Run without
arguments, call application.exi tthread.
Armin
Comment
-
Cor Ligthert [MVP]
Re: how do I exit a form ??
Simon,
[color=blue]
>I need to force a exit if a critical file is not found???
>[/color]
me.close
Cor
Comment
Comment