Very simple call the method in the click event
Click_Button1(nothing, nothing)
There are much nice alternatives but I've never seen where I needed that.
Cor
"vijit prabhu" wrote in message news:(E-Mail Removed)...
hi!
m using VB 2008.
i created a button and wants that the code linked with the button when i
move my mouse over the button and press a key other than enter or clicking.
say i press up arrow.
how this can be done, also how can i do this if i waana press enter...
need some urgent help...
thakns vijir
Submitted via EggHeadCafe - Software Developer Portal of Choice
Custom Favorites Web Site with MongoDb and NoRM
http://www.eggheadcafe.com/tutorials...-and-norm.aspx