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 › Form Won't Show

Form Won't Show

Posts 1–9 of 9 · Page 1 of 1
Shark23
Shark23
Form Won't Show
Hey again, I'm having trouble showing a 2nd form. I have a button to press which will switch to a second form but I get 2 errors:
A first chance exception of type 'System.*********enceException' occurred in <application>
A first chance exception of type 'System.InvalidOperationException' occurred in <application>
#1 · 16y ago
Jason
Jason
Please post your code to make the 2nd form appear.

I'm guessing it's sort of like...

[php]

Private Sub Button1_Click(By Val.....blahblahblah)

Form2.show()
Me.Hide()

End Sub
[/php]
#2 · 16y ago
Shark23
Shark23
Oh duh, yeah I forgot that. Yes, I'm using Form2.Show() Me.Hide()
#3 · 16y ago
Jason
Jason
Quote Originally Posted by Shark23 View Post
Oh duh, yeah I forgot that. Yes, I'm using Form2.Show() Me.Hide()
Sorry to sound picky but can you post the whole code...
#4 · 16y ago
!SpiderMan!
!SpiderMan!
Yeah Try And Post The Whole Code
We Will Help You Much Better . 0:
#5 · 16y ago
/B
/b/oss
nah this happens some times. just add 1 button and sheet and it will work.
#6 · 16y ago
Invidus
Invidus
Major you're still a beginner to VB.
These problems may see simplistic, but they're actually more in-depth.
You can't just say Get rid of a form and go with it.
#7 · 16y ago
Hassan
Hassan
Some more code around the exception line will help. But there are three possibilities right now:

1: You've created a form dynamically without the 'New' keyword, which in result is throwing a null reference error. Use the 'New' keyword before creating a new dynamic form.

2: If you've created the form with out dynamic code, then unload the Form from the project. Close the project and then reload it. Now add the Form you previously uploaded, and then call the "FormName.show()" Method. This will hopefully update the project and will recognize it.

3: If you've some code on the load event of the form you are showing then 90 % chance is that, that code is throwing an exception. To solve this, modify the code or wrap it around the Try...Catch block.

Take into account these possibilities and try to solve them. If the error still persists, then we gotta need some code of the project.

Hope this helps !!
#8 · 16y ago
Jason
Jason
Quote Originally Posted by FLAMESABER View Post
Some more code around the exception line will help. But there are three possibilities right now:

1: You've created a form dynamically without the 'New' keyword, which in result is throwing a null reference error. Use the 'New' keyword before creating a new dynamic form.

2: If you've created the form with out dynamic code, then unload the Form from the project. Close the project and then reload it. Now add the Form you previously uploaded, and then call the "FormName.show()" Method. This will hopefully update the project and will recognize it.

3: If you've some code on the load event of the form you are showing then 90 % chance is that, that code is throwing an exception. To solve this, modify the code or wrap it around the Try...Catch block.

Take into account these possibilities and try to solve them. If the error still persists, then we gotta need some code of the project.

Hope this helps !!

Listen to NextGe... I mean FLAMESABER. He knows his shit
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tut] Vista-Menu won't show up?By Green4Ever in Combat Arms Hacks & Cheats
    8Last post 17y ago
  • PNG won't show the damn transparentBy Matt in Suggestions, Requests & General Help
    5Last post 16y ago
  • [Help] The damn form won't HIDE!By Jason in Visual Basic Programming
    4Last post 16y ago
  • Hack Menu Won't show upBy minioldiblog in Alliance of Valiant Arms (AVA) Help
    4Last post 16y ago
  • Hacks won't show upBy StabYourSelf in Combat Arms Help
    15Last post 16y ago

Tags for this Thread

None