Author: mattatuni2 | Posted on: 9/13/2009 12:04:57 PM | Views : 591

 Hi ...
all of a sudden the application i have been writing for months wont let me add a simple button to it...
i have added the following code (+double clicking on a button i have added to the front end ....
Protected Sub Button15_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button15.Click TextBox1.Text = "" End Sub
 
I get the error : "error BC30506: Handles clause requires a WithEvents variable defined in the containing type or one of its base types."
 what the hell is going on? its doing the same for any new buttons/controlls i add....
...

Go to the complete details ...