An example would be to draw a command button on a form then rename the button to some name, commonly starting with cmd for a command button i.e cmdStart, in the properties at the bottom right of the IDE. Then double click the button which will produce the code,
VB Code:
Private sub cmdStart_click() End sub
And you add you actual code within this.




Reply With Quote