Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Help] My Hotkeys aren't working!

[Help] My Hotkeys aren't working!

Posts 1–6 of 6 · Page 1 of 1
PO
poneboy00
[Help] My Hotkeys aren't working!
Before someone tells me to use search, I already did, and nothing helped.

So I have made an autoclicker but the hotkey in order to start it wont work, the one to stop it does work though. Heres the code I used for my hotkeys

Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        mouse_event(mouseclickdown, 0, 0, 0, 0)
        mouse_event(mouseclickup, 0, 0, 0, 0)
        Dim startkey As Boolean
        Dim stopkey As Boolean
        startkey = GetAsyncKeyState(Keys.F11)
        stopkey = GetAsyncKeyState(Keys.F12)
' Here is where it fails
        If startkey = True Then
            Timer1.Start()
            Label3.Text = "Running"
            Label3.ForeColor = Color.Green
        End If
        If stopkey = True Then
            Timer1.Stop()
            Label3.Text = "Stopped"
            Label3.ForeColor = Color.Red
        End If
    End Sub
It looks just right but it just doesn't work. Can somebody help me?
#1 · 16y ago
gwentravolta
gwentravolta
Code:
If startkey = True Then
            Timer1.Start()
            Label3.Text = "Running"
            Label3.ForeColor = Color.Green
        End If
don't tell the timer to do something within the timer, that's always asking for something bad to happen
also make sure it is enabled. it is turned off by default
#2 · 16y ago
guza44_44
guza44_44
Um... u have to add this under Public Class Form1
Code:
Private Declare Sub SetCursorPos Lib "User32" (ByVal x As Integer, ByVal y As Integer)
#3 · 16y ago
PO
poneboy00
You don't need to do that for what i'm trying to do. And thanks travolta, didn't think that through. But then where do I put it? I tried all other places and form1_load and none of them work.
#4 · edited 16y ago · 16y ago
Zoom
Zoom
Quote Originally Posted by poneboy00 View Post
You don't need to do that for what i'm trying to do. And thanks travolta, didn't think that through. But then where do I put it? I tried all other places and form1_load and none of them work.
HEREEEEEEEEEEEEEEEE you put it!
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
#5 · 16y ago
stevethehacker
stevethehacker
put it above the Private sub line. Make sure timer is enabled.Try using a different code for hotkeys like how i did it in my source code for a tapper
add this code to beggining
Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Timer1.Enabled = True
        Timer2.Enabled = True
    End Sub
#6 · edited 16y ago · 16y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • Help Please ! Hacks Aren't WorkingBy g3ofamas1 in CrossFire Help
    9Last post 15y ago
  • ijections aren't workingBy src0042 in Combat Arms Help
    5Last post 15y ago
  • =HELP= Injector/machidamia hack not workingBy omfgs in CrossFire Help
    24Last post 15y ago
  • Hacks aren't workingBy jamiegg in CrossFire Help
    26Last post 15y ago
  • [HELP] VB6 Hotkey for Zoom not workingBy SteeL in WarRock - International Hacks
    13Last post 18y ago

Tags for this Thread

#hotkeys#working