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]Sending text to a program, without having it on the foreground via hotkey

[Help]Sending text to a program, without having it on the foreground via hotkey

Posts 1–13 of 13 · Page 1 of 1
Withoutwings
Withoutwings
[Help]Sending text to a program, without having it on the foreground via hotkey
Hey guys, hope you can help me out, I'm busy making a Bindtool which let's you bind a key and sends the text in a textbox to a program. But I'm stuck at the part where it let's you send the text in the textbox to the program with a hotkey, so I hope someone here could help me out.. Please let me know quick (: and thanks in advance since you're spending your time for me :'D
#1 · 15y ago
willrulz188
willrulz188
you mean like sendkeys?

if so google (how to make a spammer in vb.net)
#2 · 15y ago
Withoutwings
Withoutwings
Quote Originally Posted by willrulz188 View Post
you mean like sendkeys?

if so google (how to make a spammer in vb.net)
No not like a spammer. I need it to let it send it to the process which is chosen, and then send it from where-ever the user is. (not having to select the chosen program and use the hotkey)
#3 · 15y ago
Hassan
Hassan
This is what you need:

pinvoke.net: SendMessage (user32)

This API is used to communicate between different objects / windows. GL.
#4 · 15y ago
StRaXD
StRaXD
Something like :



Credits for the picture to Nathan...
#5 · 15y ago
Withoutwings
Withoutwings
Quote Originally Posted by Hassan View Post
This is what you need:

pinvoke.net: SendMessage (user32)

This API is used to communicate between different objects / windows. GL.
thank you.

Edit: Still not figured out ):

Edit2:Yes like that. Could you help me?
#6 · edited 15y ago · 15y ago
RedCell
RedCell
I've mad something like this Bf a while ago.
#7 · 15y ago
Withoutwings
Withoutwings
Quote Originally Posted by RedCell View Post
I've mad something like this Bf a while ago.
well, help me then?
#8 · 15y ago
Jason
Jason
With SendMessage I'm pretty sure you've got to access the handle of the textarea in your desired project, I know when I made a simple one for notepad, you get the main window handle, then find the handle of the "edit" area, then set the text. You'd need to figure out the new processes "edit" area (where the text is written) and then get its handle to send the message.
#9 · 15y ago
Withoutwings
Withoutwings
Ok, so in my program I can only make this work for one or other known programs which I know the "edit" area from?(In my program I let the user select the .exe he/she wants and I want to send the text from textbox1 to that program)
#10 · 15y ago
Hassan
Hassan
Quote Originally Posted by Withoutwings View Post
Ok, so in my program I can only make this work for one or other known programs which I know the "edit" area from?(In my program I let the user select the .exe he/she wants and I want to send the text from textbox1 to that program)
Well, you can loop through the controls of each process. But I am not really sure if you can get their type just by their Handle. So, till then you gotta hard code it.
#11 · 15y ago
Withoutwings
Withoutwings
Ok well thanks, and also Jason 'f course (:

/requesting close.
#12 · 15y ago
Jason
Jason
Closed by request.
#13 · 15y ago
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Tags for this Thread

None