vigneshkbv 0 Newbie Poster

The following exception was occured.

Google.API.GoogleAPIException was unhandled

Message="Failed to get response."

I dont know really i want to register anything before using this.

My source code :

GlocalSearchClient obj = new GlocalSearchClient("http://www.google.com"); /* exception got this line*/

IList<Google.API.Search.IWebResult> results = obj1.Search("Microsoft", 1000, "English", "Off");

foreach (Google.API.Search.IWebResult item in results)
        {
            listBox1.Items.Add(item.Content);
        }
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.