Convert WSDL to VB.NET

The Google Web APIs developer's kit includes .NET sample code, but it's all in C#. If you want to use VB.NET with Google, you must convert the provided WSDL file into a source file you can include in your project. The WSDL utility command-line tool provided with VS.NET makes this easy. The tool is located in your VS.NET installation's FrameworkSDK\bin folder, and you must run it from a command prompt. Specify "/language:vb" to get a VB.NET output file, and provide the name of the WSDL file to convert. After a few seconds, you'll have a ready-to-use source code file in the current directory.

You can make this process completely foolproof by running the REG file included with this article's code (click here to download the code project). This adds a "Convert to VB.NET Source File" choice to the right-click menu of all WSDL files.