M
Markus Schertler
Hello,
i'm a bit confused. I don't have a main form in my
application.
I start with sub main. And simply had a Form.Show in it.
Now I read that application.Run schould be used. Why?
Can I simply show my form with Form.Show in
Sub Main and end my application with Unload Me in the form?
Or is it better to use Application.Run and
Application.Exit?
What code can I call after Application.Exit has executed?
Should this be the last statement I call? Can or should I
call Application.Exit even when I not called
Application.Run? Sorry. But I don't understand the meaning
and the difference of this. Up until now. I didn't use the
Application Object.
Thanks, Markus
i'm a bit confused. I don't have a main form in my
application.
I start with sub main. And simply had a Form.Show in it.
Now I read that application.Run schould be used. Why?
Can I simply show my form with Form.Show in
Sub Main and end my application with Unload Me in the form?
Or is it better to use Application.Run and
Application.Exit?
What code can I call after Application.Exit has executed?
Should this be the last statement I call? Can or should I
call Application.Exit even when I not called
Application.Run? Sorry. But I don't understand the meaning
and the difference of this. Up until now. I didn't use the
Application Object.
Thanks, Markus