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]MSGBOX[Solved]

Question[help]MSGBOX[Solved]

Posts 1–9 of 9 · Page 1 of 1
Kollie8ice
Kollie8ice
[help]MSGBOX[Solved]
Okay, so I made stuff already, but when I see someone's VB work, they have..like a 'help' button or something close to that.

Is this correct?
Code:
Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click
        Dialog1.Enabled = True
    End Sub
or

Code:
Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click
        Dialog1.Text = Time0PassedBy.ToString
    End Sub
Dialog1 is my..public class name, well, when I press on my ''Help'' button, Im trying to get it to show my ''Dialog1'' which explains the stuff, but I don't seem to code it right because the Dialog doesn't show up when I press the help button. So can someone show my the right way?

I know its something like
Code:
Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button20.Click
        ___________ <- I dont know how to make that when i press my button20 it has the dialog pop up
   End Sub
All help will be appreciated, I really need the help..

Thanks!
#1 · 16y ago
Sixx93
Sixx93
make it with a MsgBox
#2 · 16y ago
MJLover
MJLover
Yes, you can try Msgbox.

Here is an example:

Code:
Msgbox ("Help content....")
#3 · 16y ago
NextGen1
NextGen1
If you want to display the real exception and not a "fake" or 'Created" error, use

[php]
Try
' Your code here , What it is you want to try and do
Catch ex as exception
msgbox (ex.message)
End Catch

[/php]

So an example of use would be

in a button click add

[php]
Try
Dim l as integer = textbox1.text
Textbox1.text = "Food"
Catch Ex as Exception
'If you get an error
msgbox(ex.message)
end catch
[/php]

Im going off the top of my head, but when you Press the button you should now get the real error, because Food is not a Integer.


If that is what you are looking for

Messages in the forms listed above are for errors / comments / warnings, but used in that manner when you know what you want to display

So in a scenerio where you know the message you want to display it is msgbox (message here)

Also for more help on how to use message boxes, I have a tutorial in my tuts sticky

Here is the link
http://www.mpgh.net/forum/33-visual-...damentals.html
#4 · edited 16y ago · 16y ago
Erinador
Erinador
Or if you want the Dialog1 to pop up use

[php]Dialog1.Show[/php]
#5 · 16y ago
zmansquared
zmansquared
Try this out

[php]Dim myForm As New Form1
myForm.Show()[/php]
#6 · 16y ago
NextGen1
NextGen1
Quote Originally Posted by zmansquared View Post
Try this out

[php]Dim myForm As New Form1
myForm.Show()[/php]
Which will work for generating a new instance of form1 and displaying it.

I think he is looking to display real errors however .
#7 · 16y ago
zmansquared
zmansquared
ah, oops sorry
#8 · 16y ago
Kollie8ice
Kollie8ice
Thank you to all those who replied it worked very well!
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • Please help me solve the hackers!By j148148 in Alliance of Valiant Arms (AVA) Help
    2Last post 15y ago
  • [Help]Progressbar[Solved]By Shocker2010 in Visual Basic Programming
    2Last post 16y ago
  • [Help]PictureBox[Solved]By zmansquared in Visual Basic Programming
    6Last post 16y ago
  • [Help]CheckBox[Solved]By ppl2pass in Visual Basic Programming
    1Last post 16y ago
  • [Help]Agreements[Solved]By zmansquared in Visual Basic Programming
    5Last post 16y ago

Tags for this Thread

None