Results 1 to 8 of 8
  1. #1
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot

    [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?
    Last edited by wr194t; 11-13-2007 at 08:14 AM.

  2. #2
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    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

  3. The Following 2 Users Say Thank You to ZeaS For This Useful Post:

    JuniorD (11-21-2007),wr194t (11-13-2007)

  4. #3
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot
    I want to close both forms. Thank you.

  5. #4
    ZeaS's Avatar
    Join Date
    Feb 2007
    Posts
    738
    Reputation
    15
    Thanks
    265
    Quote Originally Posted by wr194t View Post
    I want to close both forms. Thank you.
    no problem ^^ and thanks for the "thanks" ^^

  6. #5
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot
    Quote Originally Posted by ZeaS View Post
    no problem ^^ and thanks for the "thanks" ^^
    Your post was useful/helpful. You deserve it.

  7. #6
    jaqq3000's Avatar
    Join Date
    Sep 2007
    Posts
    123
    Reputation
    10
    Thanks
    9
    Easiest is "ALT+F4" rofl.

  8. #7
    wr194t's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Location
    Guess.
    Posts
    3,016
    Reputation
    21
    Thanks
    361
    My Mood
    Hot
    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.

  9. #8
    Jaq3000's Avatar
    Join Date
    Nov 2007
    Posts
    26
    Reputation
    10
    Thanks
    2
    Why all dx["t] mods get banned? Stupid mpgh noobs.

Similar Threads

  1. [help]how would i get the superjump address?
    By fable741 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-08-2007, 08:37 AM
  2. [HELP] how can i....
    By Evangelyon in forum WarRock - International Hacks
    Replies: 0
    Last Post: 04-29-2007, 04:43 PM
  3. Help! how do i make a jap warrock name?
    By gmgundamx7 in forum WarRock - International Hacks
    Replies: 4
    Last Post: 04-04-2007, 11:07 AM
  4. Help! how to use ardamax keylogg
    By gmgundamx7 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 02-28-2007, 04:43 PM
  5. How do i use NFV2 with PB
    By hakufu in forum WarRock - International Hacks
    Replies: 10
    Last Post: 07-18-2006, 05:42 PM