Hello friends, below is part of my html code, i have already written the vb function to retrieve a web page's generated html code and display it in a richtextbox but now i have to count the number of buttons found on this web page, that is count the number of or < input type=button> and if it exceeds 6 then display a message telling that there is too much of buttons on the page. Can someone please help me to write this function?

input type=submit value="Register"
input type=submit value="Reset"
input type=button value="Cancel"

thanks a lot...