I used to do some programming in visual basic 6 and decided to try the visual studio and ran into something I can't figgure out. I used to be able to directly reference the click event on a command button eg "if but1.click = true then" but that dosen't work in vs. It seems to mention something about a delagate but I can't find anything in the help files relating to this. I have gotton things to work by using a radio button's check event but that doesn't seem right and I thought I'd ask the question here.
As you said you are new to visual studio.
What code you have written is but1.click=true it means the button is only visible and you can write some code in its click event for click the button.