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]Check a Box[Solved]

[Help]Check a Box[Solved]

Posts 1–7 of 7 · Page 1 of 1
PP
ppl2pass
[Help]Check a Box[Solved]
how do u check a checkbox on a webbrowser.

Code:
<input id="agree_cbox" class="input_check" type="checkbox" value="1" name="agree_to_terms"/>
#1 · 16y ago
NextGen1
NextGen1
[php]
WebBrowser1.Document.Forms.Item(0).GetElementsByID ("agree_cbox").Item("autologin").SetAttribute("che cked", "-1")
[/php]

Hope this helps, let us know

Edit, Modified code slightly, if you tried, try it with this one.

#2 · 16y ago
Zoom
Zoom
I used this way on my account generator.
[php] Dim HElement As HtmlElement
HElement = WebBrowser1.Document.GetElementById("agree_cbox")

HElement.SetAttribute("checked", "true")[/php]
#3 · 16y ago
Blubb1337
Blubb1337
Code:
Webbrowser1.Document.GetElementById("").Focus
Sendkeys.Send(" ")
#4 · 16y ago
niccoletto
niccoletto
Code:
 Dim HElement As HtmlElement 
            HElement = WebBrowser1.Document.GetElementById("agree_cbox") 

            HElement.SetAttribute("checked", "true")
This is MJLover code, it works but when I try to uncheck the checkbox it doesn't work.
the function
Code:
 Dim HElement As HtmlElement 
            HElement = WebBrowser1.Document.GetElementById("agree_cbox") 

            HElement.SetAttribute("checked", "false")
checks the checkbox like the one before mentioned.

Help? Thanks.
#5 · 16y ago
Blubb1337
Blubb1337
Quote Originally Posted by Blubb1337 View Post
Code:
Webbrowser1.Document.GetElementById("").Focus
Sendkeys.Send(" ")
Try my method, it's working for unchecking/checking, if you need something more complicated you should use mj's code.
#6 · 16y ago
niccoletto
niccoletto
Works P E R F E C T L Y! Thank you
#7 · 16y ago
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

  • [Help]Basic Text Box[Solved]By FlashDrive in Visual Basic Programming
    3Last post 16y ago
  • [Help]Print Text Box [Solved]By zmansquared in Visual Basic Programming
    7Last post 16y ago
  • [HELP] Check if internet is available[Solved]By blackgaming in Visual Basic Programming
    6Last post 15y ago
  • [Help]Checking Lines[Solved]By ppl2pass in Visual Basic Programming
    4Last post 16y ago
  • [Help]Message Box[Solved]By o0OpurezO0o in Visual Basic Programming
    16Last post 15y ago

Tags for this Thread

None