Can any one plz help me in writing the code to find the number of command buttons in VB6. Plz help SID