Zombie Application?
-
Ran across this little gem while cleaning some old (but still in active development :~) VB6 code today:
If GV\_GracefullyExiting Then End 'I MEAN IT!!!!! \* for troubles with application re-loading End End End If
* Names and dates removed to protect the ??? Was it really that hard to track down why the application wouldn't die that it needed to be ended three times? I mean, a double-tap is standard zombie killing procedure, but thrice? :doh:
-
Ran across this little gem while cleaning some old (but still in active development :~) VB6 code today:
If GV\_GracefullyExiting Then End 'I MEAN IT!!!!! \* for troubles with application re-loading End End End If
* Names and dates removed to protect the ??? Was it really that hard to track down why the application wouldn't die that it needed to be ended three times? I mean, a double-tap is standard zombie killing procedure, but thrice? :doh:
Yeah, and those other two
End
statements should be commented! Like so:If GV_GracefullyExiting Then
End 'I MEAN IT!!!!! * for troubles with application re-loading
End 'Please, please end!
End 'Why won't you just end!?
End 'Just end, so I can go home!
End 'Fine, don't end... See if I care...
'...
'...
'...
'...
'...
'...
End 'END!!! ENDENDENDENDEND!!!
End 'That's it... I quit.
End IfProud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels) -
Yeah, and those other two
End
statements should be commented! Like so:If GV_GracefullyExiting Then
End 'I MEAN IT!!!!! * for troubles with application re-loading
End 'Please, please end!
End 'Why won't you just end!?
End 'Just end, so I can go home!
End 'Fine, don't end... See if I care...
'...
'...
'...
'...
'...
'...
End 'END!!! ENDENDENDENDEND!!!
End 'That's it... I quit.
End IfProud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)If GV_GracefullyExiting Then
While True
End
End While
End IfIt is VB after all - the Language That Would Not Die...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."
-
If GV_GracefullyExiting Then
While True
End
End While
End IfIt is VB after all - the Language That Would Not Die...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."
:laugh: :laugh: :laugh: +5
-
If GV_GracefullyExiting Then
While True
End
End While
End IfIt is VB after all - the Language That Would Not Die...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."