Code Samples
Get the latest code samples for Visual Basic 2005. Here you'll find links to application, Web, and data samples done in Visual Basic.
My.Blogs Sample for Visual Basic 2005The My.Blogs sample provides an example of how to extend My to provide a way of accessing common functionality throughout your code, or you can extend it to build a full featured blog utility to work with blogs on your desktop, a browser, or even Outlook.
RSS ReaderOne of the requests from developers building smart client applications is for better support for building applications that look and feel like Microsoft Office applications, most specifically Outlook 2003. In this short sample, see how using Visual Basic 2005 can quickly build a custom Blog Reader that looks just like Outlook.
Windows Application EnhancementsBuild a smart client application that takes advantage of new windows forms controls and design-time data enhancements to build a professional looking smart client application that can be easily deployed and maintained.
Visual Basic in Office (Excel)In this sample, learn how to use Microsoft Visual Studio 2005 Tools for Office and Visual Basic 2005 to transform a static mortgage calculator worksheet into a rich real estate locator solution by adding data binding, user controls, a managed actions pane, and Web services.
Refactor! for Visual Basic 2005This sample highlights a number of the individual refactoring operations supported by Refactor! for Visual Basic 2005. The demo approaches refactoring as a way to clean-up and streamline existing code making it easier to understand and more maintainable without affecting the way it functions.
General Samples
QuickStartsThe .NET Framework SDK includes several QuickStart samples designed to introduce you to various aspects of the .NET Framework. The samples consist of sample code, instructional text, and graphics that illustrate the implementation of the code.
Visual Basic SamplesIn Visual Basic documentation, a sample is a Visual Basic project you can load into Visual Studio and run. An example is a small block of code that demonstrates a single, limited programming task. A snippet is a block of code that is inserted in the Code Editor using the IntelliSense Code Snippet feature.
Application SamplesThe following samples represent complete applications written for the .NET Framework and the .NET Compact Framework. As such, these samples address a variety of technologies and exhibit more complete error handling and object-oriented development than other samples in the SDK.
Technology SamplesThe technology samples demonstrate the various technologies in the .NET Framework. These samples are intended for instructional use only. As such, these samples tend to exhibit limited error handling, and often do not reflect the object-oriented nature of the .NET Framework.
BCL DemosThis page contains links and descriptions of demos related to the .NET Base Class Library. These references give new insight into the reasoning behind a particular design, or can help leverage the full power of a particular feature, or API.