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 › [Solved]MSG BOX help

Question[Solved]MSG BOX help

Posts 1–6 of 6 · Page 1 of 1
zmansquared
zmansquared
[Solved]MSG BOX help
Hey guys, what is the code for a message box to have another button like a continue and close button? the standard msgbox just has an ok button. how do add my own/or change the properties of it?
#1 · 16y ago
HE
hellldog
msgbox ("hi")
#2 · 16y ago
Void
Void
MessageBox

If you scroll down you'll see the other button types. E.g. abort,cancel,continue etc.

MessageBox's return value is one of the button ID's if it's successful. I guess you can use if statements from there.

if IDABORT do this

if IDCONTINUE do this..

Sorry I don't know any VB but I thought this might help.
#3 · edited 16y ago · 16y ago
NextGen1
NextGen1
Code:
If MsgBox("Heya Heya Heya This works " , vbOKCancel) = vbOk Then
    yad yada
Else
    yada yada
End If
Code:
Dim MsgResponse As Variant

MsgResponse = MsgBox("Yada Yada Yada", vbOKCancel) 

If MsgResponse = vbOk Then
    Yada Yada
Else ' means cancel
    Yada yada 
    Exit Sub
End If
#4 · edited 16y ago · 16y ago
zmansquared
zmansquared
Sweet thanks Gen. you rock once again
#5 · 16y ago
NextGen1
NextGen1
Not a problem, and your welcome
#6 · 16y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • i Didnt See Msg box Credits after injectBy a7medsh3ban in CrossFire Help
    20Last post 15y ago
  • Draw Box HELPBy AllMarcos in Combat Arms BR Coding Help
    8Last post 15y ago
  • Xat box help?By Luke6.5 in General
    10Last post 16y ago
  • Message Box helpBy hopefordope in Visual Basic Programming
    5Last post 16y ago
  • [Solved]Custom Form, HelpBy Zoom in Visual Basic Programming
    9Last post 16y ago

Tags for this Thread

None