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]Mouse Position coordinates

Question[Help]Mouse Position coordinates

Posts 1–10 of 10 · Page 1 of 1
Unkn0wn_h4cker
Unkn0wn_h4cker
[Help]Mouse Position coordinates
I mean atm Im just using api's,but what do you think is the easiest way to grab the coordinates on screen in a form/out of a form.
#1 · 16y ago
Blubb1337
Blubb1337
Mouse X/Y in your form
Code:
   Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseMove
        Label1.Text = "X = " & e.X & vbCrLf & "Y = " & e.Y
    End Sub
#2 · 16y ago
Unkn0wn_h4cker
Unkn0wn_h4cker
and how would you go about getting the coordinates from outside a form. ?
#3 · 16y ago
Blubb1337
Blubb1337
that is the question xD
#4 · 16y ago
Erinador
Erinador
Put this in a timer or the mousemove function.

Code:
Me.Text = MousePosition.ToString
#5 · 16y ago
Unkn0wn_h4cker
Unkn0wn_h4cker
Quote Originally Posted by Erinador View Post
Put this in a timer or the mousemove function.

Code:
Me.Text = MousePosition.ToString
Yeah we got inside a form,But what if you want the position off a form, or on the web browser inside the form
#6 · 16y ago
Erinador
Erinador
My code tells you the coordinates of the mouse even if it is out of the form.
#7 · 16y ago
Unkn0wn_h4cker
Unkn0wn_h4cker
Quote Originally Posted by Erinador View Post
My code tells you the coordinates of the mouse even if it is out of the form.
Nope It doesn't
#8 · 16y ago
NextGen1
NextGen1
Dim MouseP as Point

MouseP = myControl.PointToClient(Cursor.Position)
Textbox1.text = "X = " & MouseP.X & ", " & MouseP.Y
#9 · 16y ago
Erinador
Erinador
Quote Originally Posted by Unkn0wn_h4cker View Post
Nope It doesn't
Weird :s it does for me.
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help] Mouse HotkeysBy ilovepie21 in Visual Basic Programming
    1Last post 18y ago
  • [Release] xD Mouse Position RecorderBy Hassan in Visual Basic Programming
    8Last post 16y ago
  • [HELP] Mouse ClicksBy Golden. in Visual Basic Programming
    1Last post 16y ago
  • help mouse postion = pixleBy tremaster in Visual Basic Programming
    3Last post 16y ago
  • [Help] Mouse buttonBy Maniac101 in Visual Basic Programming
    20Last post 16y ago

Tags for this Thread

None