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]problem with code[/solved]

[Help]problem with code[/solved]

Posts 1–3 of 3 · Page 1 of 1
pushdis15
pushdis15
[Help]problem with code[/solved]
ok well i made a login for my mini tool thing where u got to login to use it . an then it opens form1 if info is right but it closes everything after it logins in y?
Code:
 Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click
        If OK.Enabled = True Then Timer1.Enabled = True
        If Login(UsernameTextBox.Text, PasswordTextBox.Text) Then
            MsgBox("Login Succesfull", MsgBoxStyle.OkOnly, "Logged in")
            Form1.Show()
            Me.Close()
        Else
            If MsgBox("Login failed, please register at Mpgh.net to use this program" & vbCrLf & "Want to try again?", MsgBoxStyle.RetryCancel, "Warning") = MsgBoxResult.Retry Then
            Else
            End If
        End If
    End Sub
#1 · edited 15y ago · 15y ago
Blubb1337
Blubb1337
Project properties > Application > Shutdown modus(or whatever it is called) > When last form closes.
#2 · 15y ago
pushdis15
pushdis15
appreciate /close
#3 · 15y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Tags for this Thread

None