{ Learn Code. Share Code. Teach Code. Love Code. }

  • Strange Problem

  • Coding help & support using visual basic.
Coding help & support using visual basic.
 #71489  by Skillful
 Sat Sep 08, 2012 7:06 pm

I seem to be having a strange little problem in developing Metro Apps for Windows 8 in VS 2012 RC.

I'm using Visual Basic to develop the apps.

Whenever I drag a button on the XAML editor, name it and double click it to raise the click event, I am unable to put anything under the click event.

In the part of the click event where it says 'Handles b1.Click' it gives an error saying 'Handles Clause requires Withevents' or something like that I can't exactly remember.

I am unable to raise any kind of event for any kind of control.

I created a new project, still the same problem.

Please help me guys. #CodenStuff #comathi.

 #71490  by CodenStuff
 Sat Sep 08, 2012 8:14 pm
Thats strange...its not currently running/debugging is it?
 #71491  by Skillful
 Sat Sep 08, 2012 8:23 pm
Nope. Nothing debugging or running whatsoever.
 #71493  by CodenStuff
 Sat Sep 08, 2012 9:55 pm
What type of template are you using, did you start a project with a blank template or..what? lol

You added a button and double clicked it and you were taken to code view with a button click event created for you but you couldnt type anything is that rite? strange.
 #75464  by visualtech
 Sun Mar 24, 2013 10:45 am
~bump~ I had the same problem, restored Visual Studio and the problem was gone! You could even try re-starting VS
 #75474  by Jaime1993
 Sun Mar 24, 2013 5:41 pm
i had this problem too to fix it just go to google.com and search for win72ei.dll download it and paste in the one u already have, that will make it work

ty ( get it from a trusted place )