seba18
Programmer
- Jul 26, 2004
- 38
How can I associate another task with the close application button?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Form_QueryUnload(cancel As Integer, unloadmode As Integer)
select case unloadmode
case vbFormControlMenu
'Do your task here
Cancel = 1 'cancel form close
case else
cancel = 0
end select
end sub
but I can't see why you would want to do this!