[RESOLVED] Object unloaded? Why wont it load again?
I have code that shows this:
Code:
If lblYes.Tag = 1 Then
Load frmMain
frmMain.Show
Unload frmGame
End If
But it highlights Load frmMain and says
Run time error 364 object was unloaded.... Why does it do that? I have unloaded things in the past.......
Re: Object unloaded? Why wont it load again?
Something in the frmMain's Load or Initialize event is probably unloading it.
Re: Object unloaded? Why wont it load again?
Yeah. That was it. xD Thanks!
Re: Object unloaded? Why wont it load again?
As you now have it sorted out, could you please do us a little favour, and mark the thread as Resolved?
(this saves time reading for those of us who like to answer questions, and also helps those who search to find answers)
You can do it by clicking on "Thread tools" just above the first post in this thread, then "Mark thread resolved". (like various other features of this site, you need JavaScript enabled in your browser for this to work).
Re: Object unloaded? Why wont it load again?
Oh yeah. I totally forgot. Sorry si_The_geek! I'll do it right away!