Formun unload prosedürüne girin, ve sadece şunu yazın
işte ;
Private Sub Form_Unload(Cancel As Integer)
cancel=1 'formu kapatma
End Sub
isterseniz değişik mesajlarla kullnıcıyla eğlenebilirsiniz örneğin ;
Private Sub Form_Unload(Cancel As Integer)
cancel=1
msgbox "Kapatamazsınız"
End Sub
Private Sub Form_Load()
app.taskvisible=false 'görev çubuğunda gösterme
End Sub
![[Resim: 114ld.jpg]](http://b1112.hizliresim.com/s/c/114ld.jpg)