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 › Bisma - How would I do this?

QuestionBisma - How would I do this?

Posts 1–5 of 5 · Page 1 of 1
.D
.DLL
Bisma - How would I do this?
Hello and I'm .DLL,
At the moment Im a newbie at VB.NET and I had a thought one day while playing Combat Arms,
"Me : Why not make a quick switcher in VB.NET..."

Whats a quick switcher you might ask?
It's basically , hmm can't explain that well.
Well you know when your sniping and you click the letter 'Q' two times to re-duce the recoil or accuracy and such
basically a quick switcher would allow you to set some options so when you shoot/click (LMB) about 0.02 seconds after you
shoot it would activate the quick switcher allowing it to click 'Q' two times with-out you moving a figure.

Well why cant you make such a simple program?
As I stated above Im still a VB.NET newbie and I really don't want to work on the basic kind-of programs I want to move on
to the 'Intermediate' level programs and leave the 'Beginner' level.

Here is my code so far (I've been working on this for about 10minutes);
Code:
'Bisma - QuickSwitcher
Public Class Form1

    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
    '------------------------------------------------------

    'Other(s)

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Button2.Enabled = False
    End Sub
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If GetAsyncKeyState(Keys.Q) Then
            SendKeys.Send("{Q}")
            SendKeys.Send("{Q}")
            Status.Text = "Quicking!"
        Else
            Status.Text = "Waiting for input..."
        End If
    End Sub
    '------------------------------------------------------

    'Buttons

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Start()
        Button1.Enabled = False
        Button2.Enabled = True
        Status.Text = "[B]Quicking!"
    End Sub
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Stop()
        Button2.Enabled = False
        Button1.Enabled = True
        Status.Text = "[B]Waiting for input..."
    End Sub
    '------------------------------------------------------

    'Tool Strips

    Private Sub SupportsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SupportsToolStripMenuItem.Click
        MessageBox.Show("Combat Arms Only (MULTI SOON)")
    End Sub
    Private Sub ExitToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click
        Application.Exit()
    End Sub
    '------------------------------------------------------
But I'm having a problem in-game/out-of game when ever I actually run the program I get an error with this code,
Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If GetAsyncKeyState(Keys.Q) Then
            SendKeys.Send("{Q}")
            SendKeys.Send("{Q}")
            Status.Text = "Quicking!"
        Else
            Status.Text = "Waiting for input..."
        End If
    End Sub
Anyone mind helping? :/
#1 · edited 14y ago · 14y ago
kolec94
kolec94
seem like it was over done cuz ur looking for a spammer with out the iniifite loop
correct me if im wrong
#2 · 14y ago
Horror
Horror
Off : Why bother making it in VB ? Far more easier in AHK ... :P
On : I dont quite understand this code, im pretty much a newb too :l
#3 · 14y ago
Blubb1337
Blubb1337
Try changing

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer

to

Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Int32) As Int16
#4 · 14y ago
wompzilla
wompzilla
If I'm not mistaking, Sendkeys does not work on combat arms because it is a DirectX Game.
You can use an alternative to sendkeys which can be found here:
http://www.mpgh.net/forum/378-open-s...-code-sdk.html
Thanks to NextGen1
#5 · 14y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • how would u fix this shit?By asdf12345678 in General
    7Last post 16y ago
  • How would people do this?By Dead 4 Real in Combat Arms Coding Help & Discussion
    7Last post 15y ago
  • HOW MUCH WOULD YOU BUY THIS ACCOUNT 4?By VIC116052 in Trade Accounts/Keys/Items
    9Last post 16y ago
  • How would i go about doing thisBy TJC20207 in Combat Arms Mod Discussion
    1Last post 16y ago
  • How much would you buy this forBy komakazee in Trade Accounts/Keys/Items
    82Last post 16y ago

Tags for this Thread

None