Hi
I need to get the number of result of any text.for example
we are searching as ".net developement process"
so result need - number of result = 2300 for example
I am using the below code
GoogleSearchService GSS = new GoogleSearchService();
//Create new Google Search Result
string licensekey =
"ABQIAAAApAfKvHnlgudb6B4RAth3rBRqMtI6TmfFpjE_nNUIeqypmSKrtRRTKBwDljKNad1AaF
bG4zn4R1SlqQ";
string firsttxtbox = txtboxFirst.Text.Trim();
string secondtxtbox = txtboxSecond.Text.Trim();
string searchPhrase = firsttxtbox ;
GoogleSearchResult GSR = GSS.doGoogleSearch(licensekey,
searchPhrase, 1, 10, false, string.Empty, true, string.Empty,
string.Empty, string.Empty);
// Store the number of total results
int resNum = GSR.estimatedTotalResultsCount;
but at execution time show this error on the below line
GoogleSearchResult GSR = GSS.doGoogleSearch(licensekey,
searchPhrase, 1, 10, false, string.Empty, true, string.Empty,
string.Empty, string.Empty);
Error:
unable to automatically step into the server. connecting to the
server
machine 'www.google.com'failed. The debugger cannot connect to the
remote computer. This may be because the remote computer does not
exists or a firewall may be preventing
Please suggest me.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---