[Help] How to close a program with a hotkey (VB6).I want to press End so Form1 & Form2 (baiscally the whole hack) close. What would the code be?
you mean close all forms? or only form 2 or something?? ---This close only form2--- timer -> interval 100 if getkeypress(vbkeyEnd) then unload form2 end if end sub ---This close form1 and 2--- timer -> interval 100 if getkeypress(vbkeyEnd) then unload form2 unload form1 end if end sub ~ZeaS
Originally Posted by wr194t I want to close both forms. Thank you. no problem ^^ and thanks for the "thanks" ^^
Originally Posted by ZeaS no problem ^^ and thanks for the "thanks" ^^ Your post was useful/helpful. You deserve it.
Originally Posted by jaqq3000 Easiest is "ALT+F4" rofl. He already helped me, so there was no need for you to post.