Code Samples
Download these Microsoft Visual Basic® .NET samples
to learn more about building Microsoft Windows®-based applications, Web
applications, and XML Web services.
Visual Basic .NET
Visual Basic 6.0 Upgrade Samples Download this set of four code samples that
demonstrate techniques for upgrading from Visual Basic 6.0 to Visual Basic
.NET.
101 Code Samples for Visual Basic .NET Download the set of 101 code samples for Visual Basic .NET
from MSDN to learn more about building Microsoft Windows®–based
applications and XML Web services. You may also download the samples individually.
Visual Basic Samples Choose from a variety of Visual Basic .NET code
samples on MSDN geared specifically for getting started with Visual Basic
.NET, enterprise development, and developing using Visual Studio .NET.
DirListBox Sample This sample control demonstrates how to extend the
standard TreeView control to display a list of directories on the
computer's drives. It is similar to the DirListBox control included with
Microsoft Visual Basic 6.0.
Toggle Switch Control This sample contains a custom user control that
simulates the toggle switch behavior that appears in Visual Studio .NET
when viewing .aspx files in Design and Code view.
Find And Replace Dialog Box This sample control demonstrates how to leverage
the Find and Replace dialog box provided by the Windows Common Dialog. The
control subclasses the dialog and exposes its features through a class
library control which can be inserted into a Windows Forms project.
Line Controls This sample contains StraightLine and CurvedLine
controls that are inherited from a LineBase control. The controls display
design-time editing.
FolderBrowser Control This sample contains a custom object called a
FolderBrowser that wraps the functionality of the shell folder browser.
This is an example of creating a .NET wrapper around some API
functionality. Note that this functionality is already provided in Visual
Basic .NET 2003 (through the 1.1 version of the .NET Framework).
Visual Basic 6.0
Build a Multiple File Search and Replace
Utility Learn how to build a search and
replace Utility by downloading this sample. Once built, this Utility
searches and replaces text in multiple files in multiple folders.
Visual Basic Samples Download sample Visual Basic 6.0 program files from one
convenient location by scanning documentation abstracts or installing the
entire directory
|