google pages in numericupdown

Oct 19 2013 8:57 AM
I want to search the web pages by choosing keyword and and using a numericupdown.
Let's say i record number 5 in numericupdown box and it should give only 5 pages and then stop search results
in listbox and then back to page 0 and of course check if there are no pages left. 

Or in simple way.

How to use numericupdown with google pages like 1,2,3,4,5,6,7,8,9 and so on but using from numericupdown ?

Example: 

type 5 in numericupdown box and click button to go and it should add only 5 google pages in listbox.
If type 10 pages it should find only 10 pages and add to listbox and stop results.

what i need only so simple function and how to call it using numericupdown.
Need function and how to call it by cliking button.

I have textbox,numericupdown,listbox and button go.