Results 1 to 5 of 5
  1. #1
    Iamazn's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    141
    Reputation
    10
    Thanks
    85

    [TuT]Very Basic Hotkeys

    This is Some VERY BASIC Hotkeys

    Code:
    Public Class Form1
        Protected Overrides Function ProcessDialogKey(ByVal keyData As System.Windows.Forms.Keys) As Boolean
    
            Select Case (keyData)
                Case Keys.F10
    'Replace F10 with the hotkey you want.
    'Code here.
                Case Keys.F11
    'Replace F11 with the hotkey you want.
    'Code here.
            End Select
            Return MyBase.ProcessDialogKey(keyData)
        End Function

    Heres a Basic setup for HotKeys with a AutoTyper

    Code:
    Public Class Form1
        Protected Overrides Function ProcessDialogKey(ByVal keyData As System.Windows.Forms.Keys) As Boolean
    
            Select Case (keyData)
                Case Keys.F10
                    Timer1.Start()
                Case Keys.F11
    'When I tested this, the Timer1.Stop didnt work. But you can still try.
                    Timer1.Stop()
            End Select
            Return MyBase.ProcessDialogKey(keyData)
        End Function
    Last edited by Iamazn; 09-07-2009 at 11:33 AM.

  2. #2
    That0n3Guy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    1,137
    Reputation
    13
    Thanks
    271
    My Mood
    Sleepy
    Why not just use MCLHotkey.ocx?
    Quotes Hall of Fame

    Quote Originally Posted by martijno0o0 View Post
    ok, i got visual basic 2008 and i got some expirients but i need c++ to make hacks rigth?
    so i need c++ and my question is!?¿? where i dontload it? and is c++ a own program or a update for vb08?
    [IMG]https://i660.photobucke*****m/albums/uu327/EddieTheWin/duff.png[/IMG]

  3. #3
    Iamazn's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    141
    Reputation
    10
    Thanks
    85
    Quote Originally Posted by That0n3Guy View Post
    Why not just use MCLHotkey.ocx?
    I dont know what that is 
    Wont both work the same way?

  4. #4
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Why not just use GetASyncKeyState its way more simple than that(but thats my opinion)

  5. #5
    That0n3Guy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    1,137
    Reputation
    13
    Thanks
    271
    My Mood
    Sleepy
    Quote Originally Posted by Iamazn View Post
    I dont know what that is 
    Wont both work the same way?
    No, the OCX file make's it a lot easier.

    Add my attachment as a component, and use it like you would a timer, when you click it you'll see a property, VKey, set that to the key you want to use and then double click the item it added to your form and put your code there.
    Quotes Hall of Fame

    Quote Originally Posted by martijno0o0 View Post
    ok, i got visual basic 2008 and i got some expirients but i need c++ to make hacks rigth?
    so i need c++ and my question is!?¿? where i dontload it? and is c++ a own program or a update for vb08?
    [IMG]https://i660.photobucke*****m/albums/uu327/EddieTheWin/duff.png[/IMG]

  6. The Following User Says Thank You to That0n3Guy For This Useful Post:

    stevethehacker (10-18-2009)

Similar Threads

  1. [TuT]Very Basic Broken Text
    By Dorado in forum Tutorials
    Replies: 16
    Last Post: 08-20-2009, 07:14 PM
  2. [TuT]Very Basic Broken Text
    By Dorado in forum Help & Requests
    Replies: 2
    Last Post: 05-28-2009, 09:52 PM
  3. Very Basic Chams
    By ploxide in forum C++/C Programming
    Replies: 5
    Last Post: 05-19-2009, 07:01 PM
  4. Replies: 3
    Last Post: 01-28-2009, 09:16 AM
  5. one of my basic hotkey hacks
    By mtbman19 in forum WarRock - International Hacks
    Replies: 15
    Last Post: 06-30-2008, 08:33 AM

Tags for this Thread