[Help] How to close a program with a hotkey (VB6).

Posts 1–8 of 8 · Page 1 of 1
[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.
Quote Originally Posted by wr194t View Post
I want to close both forms. Thank you.
no problem ^^ and thanks for the "thanks" ^^
Quote Originally Posted by ZeaS View Post
no problem ^^ and thanks for the "thanks" ^^
Your post was useful/helpful. You deserve it.
Easiest is "ALT+F4" rofl.
Quote Originally Posted by jaqq3000 View Post
Easiest is "ALT+F4" rofl.
He already helped me, so there was no need for you to post.
Why all dx["t] mods get banned? Stupid mpgh noobs.
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?