VB.Net
  Home arrow VB.Net arrow Page 2 - Implementing The Google Web Service In VB....
IBM developerWorks
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Actuate Whitepapers 
VeriSign Whitepapers 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VB.NET

Implementing The Google Web Service In VB.NET
By: Jayesh Jain
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 30
    2002-09-29

    Table of Contents:
  • Implementing The Google Web Service In VB.NET
  • The Google Web Service
  • Implementing The Google Web Service
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Implementing The Google Web Service In VB.NET - The Google Web Service


    (Page 2 of 4 )

    Google is one web site that provides the public with web services, allowing applications to use features like search and spell checks. We shall now see how can we use this service in an application using Visual Basic .NET.

    But before we can access the Google web service, we need to create a Google account and obtain a license key, which will allow us to run about 1000 automated queries a day.

    Jump over to http://www.Google.co.nz/apis/ to create a Google account. Once you have entered your email and password, Google will email you your license key, which will be used in our application sample application for this article.

    Getting Started
    Now that we’ve received our license key, we will create an application in Visual Basic .NET to create a customized search and a spell checker using Google's web service API's (application programming interface).

    Open Visual Studio .NET and create a new Windows Application Project. Call it googleapi and click OK:

    Creating our new VB.Net application

    Adding A Web Reference To The Google Web Service
    Next, we need to add a web reference to the Google web service (this is almost like adding a reference to a COM/ActiveX object, but when we add a web reference we now have access to the XML web service on Google's server).

    Open your solution explorer, right click on references, and click add web reference. Alternatively you could select the project menu and click on the add web reference menu item.

    In the address bar, type in http://api.Google.com/GoogleSearch.wsdl (please make sure that you type it in exactly as shown, as this URL is case sensitive), like so:

    Loading the Google web service

    After you enter the URL and press enter, the Google web service is loaded and you should see a screen similar to the one shown in the example above. Lastly, click on the add reference button to add this web reference to our project.

    More VB.Net Articles
    More By Jayesh Jain


     

    VB.NET ARTICLES

    - MyClass - Implementing Polymorphism in VB.Net
    - Building a News Ticker Using VB.Net
    - Everything You Wanted to Know About Forms In...
    - Building Assemblies with VB.Net
    - Simple VB.NET Notify Icon with Panel Applica...
    - Regular Expressions in .NET
    - String Encryption With Visual Basic .NET
    - Deploying Applications in VB.NET: Part 1/2
    - Watching Folder Activity in VB.NET
    - Creating A Windows Service in VB.NET
    - Implementing The Google Web Service In VB.NET
    - Migrating to Visual Basic.NET from Visual Ba...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway