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.

    [Help?]


    paranoid_
     Share

    Recommended Posts

    Hey... Schreibe auf deutsch da mein Zustand mir nicht erlauben wird korrecktes Englisch zu schreiben. O.o

     

    Also ..

    Ich mag in ein Projekt Hotkeys einbauen und kenne den Code nicht ... bzw weiß nicht wie ich ihn anwende.

    Zb. wenn ich F6 drücke ist der timer1 enabled .

    Ich benutze VB 08

    Bitte ein Beispiel!!

     

    MySQL

    Link to comment
    Share on other sites

    Hey... Schreibe auf deutsch da mein Zustand mir nicht erlauben wird korrecktes Englisch zu schreiben. xD

     

    Also ..

    Ich mag in ein Projekt Hotkeys einbauen und kenne den Code nicht ... bzw weiß nicht wie ich ihn anwende.

    Zb. wenn ich F6 drücke ist der timer1 enabled .

    Ich benutze VB 08

    Bitte ein Beispiel!!

     

    MySQL

     

     

    vb6 wäre das :

     

    Public Declare Function getkey Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer
    
    If getkey(vbKeyF8) Then
    ....
    end if

     

    sry vb 08 weis ich nicht O.o

    Link to comment
    Share on other sites

    Ahh O.o

     

    da hab ich doch was für dich:

     

     

    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
    Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
    	Dim starthotkey As Boolean
    	Dim stophotkey As Boolean
    	starthotkey = GetAsyncKeyState(Keys.F7)
    	stophotkey = GetAsyncKeyState(Keys.F8)
    	If starthotkey = True Then
    		'Start
    		Timer1.Enabled = True
    	End If
    	If stophotkey = True Then
    		'Stop
    		Timer1.Enabled = False
    	End If
    End Sub

    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...