W
William LaMartin
If I have a Windows application with no form--only a module that starts with
sub main and which has a system timer, in the elapsed event of which I want
to run some code, how can I keep this program from running through the sub
main code and then closing without ever firing the timer?
I can put
Do While 3 <> 2
Loop
at the end of the sub main code and that seems to work, but there must be a
better way.
sub main and which has a system timer, in the elapsed event of which I want
to run some code, how can I keep this program from running through the sub
main code and then closing without ever firing the timer?
I can put
Do While 3 <> 2
Loop
at the end of the sub main code and that seems to work, but there must be a
better way.