Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2008 mybase.actived infinite loop

$
0
0
I have a program that has a series of forms in it. the main form is called Specdriver, and within that form, I have a button that hides this form and activates a form called frm123 so the user can do other stuff. When it activates, I get an infinite loop. I put a messagebox in form123.activated and the box comes up many times.
So, with this in mind, what is the difference between mybase.load, and mybase.activated, as my code has both subs in it within the same form?

Here is my thought:
mybase.load only fires when the form is initially loaded, and never again
mybase.activated fires when the form is activated.

I made a simple new project away from my huge one, and it looks as if you have both of them, then that is where my infinite loop is coming from?
adam

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>