Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    [TUT] Simple CA Tapper with Hotkeys VB


    Drake`
     Share

    Recommended Posts

    1) Open up VB ( 2008/2010 ), Open up a NEW PROJECT....

     

    2) First of all here is all the things you need in your FORM1.

    2 Buttons: 1= Connect/2=Disconnect

    2 Text Boxes: 1 for Disconnect Hot key, Other for COnnect Hotkey 1

     

    tapper.png

     

    That is what it should have, and should say or if ya wanna get fancy mix it up if ya want.

     

    3) Double click on the FORM1 name, and here is the coding part, Put this code ABOVE "Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load"

    CODE=

     

    Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As System.Int16) As Int16 'so its x64 bit compatible

    ( Change user32 to user64, if thats your computer rate )

    Now below the Private Sub Form1 thing, Put:

    End Sub

     

    4) Now put this code after that

    CODE:

     

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
           Shell("NET START DHCP")
       End Sub

     

    5) That was for The Button1 ( COnnect ) Now button 2 code is:

    Code:

     

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
           Shell("Net STOP DHCP")
       End Sub

     

    6) See how it says Shell then net STOP, well its VB language saying when this code clicked or pushed Stop the tapper.

    7) Now get your timer out (1), and double click it and put this code

    CODE:

     

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
           Dim StartHotkey As Integer
           StartHotkey = GetAsyncKeyState(116)
           If StartHotkey <> 0 Then
               Shell("Net STOP DHCP")
           End If
           Dim StopHotkey As Integer
           StopHotkey = GetAsyncKeyState(117)
           If StopHotkey <> 0 Then
               Shell("NET START DHCP")
           End If
    
       End Sub
    End Class

     

    This is what the WHOLE code should look like in its Coding page:

    ( Not whole thing just the END sub's and all the lines and there should be nothing underlined = Thats an ERROR )

     

    29vdj80.jpg

     

    PRESS THANKS IF THIS HELPED!

     

    Credits to: GrImReApEdv2.0 from ghbsys.net

    Edited by paTTax
    Credits added!
    • Downvote 2
    Link to comment
    Share on other sites

    Stop leeching. Credits go to GrImReApEdv2.0 from ghbsys.net. Idiot.

    Edited by M0RPH
    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...