[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
I want to close both forms. Thank you.
Why all dx["t] mods get banned? Stupid mpgh noobs.