Figure 2-910.Click Enter in the console window to end the application. The essence of this example is included in the SubMainprocedure, so let s walk through it in furtherdetail to see how it works. First, you created a new Google Search Service. Create a Google Search objectDim Search As New Google.GoogleSearchServiceNext, you declared various variables to hold the parameters to pass to the search query. Dim strLicense As StringDim strSearchText As StringDim intStart As IntegerDim intMaxResults As IntegerYou then assigned the values to the search variables, such as the developer key, the search string, thestarting position for the query, and the maximum number of results to return. set the values to pass to the Google web servicestrLicense = YOUR KEY GOES HERE strSearchText = web service API intStart = 0intMaxResults = 3You then executed the doGoogleSearchmethod and passed the search variables defined previously. Try execute the doGoogleSearch method (i.e. run the Google Search) Dim SearchResult As Google.GoogleSearchResult = _ Search.doGoogleSearch(strLicense, strSearchText, _ intStart, intMaxResults, False, , False, , , ) 28Chapter
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Inexpensive Web Hosting services