This site in other countries/regions:

Microsoft Download Center

Microsoft

101 Visual Basic and C# Code Samples

Quick links

101 Code Samples for Visual Basic and C# (2003)

Quick details

Version: 1.0 Date published: 3/11/2004
Language: English

Files in this download

The links in this section correspond to files available for this download. Download the files appropriate for you.

File name Size
CSharp.msi 6.4 MB Download
VisualBasic.msi 6.7 MB Download

Overview

This download includes a master set of Visual Basic and Visual C# code samples demonstrating various aspects of the language in the following areas: syntax, data access, Windows Forms, Web development and Web services, XML, security, the .NET Framework, file system and file I/O, interop and migration issues, COM+, ADO.NET, and advanced topics including graphics with GDI+, remoting, serialization, MSMQ, and Windows services.

Top of pageTop of page

System requirements

Supported operating systems: TabletPC, Windows 2000, Windows 2000 Service Pack 2, Windows 2000 Service Pack 3, Windows 2000 Service Pack 4, Windows 98, Windows 98 Second Edition, Windows ME, Windows NT, Windows Server 2003, Windows XP, Windows XP Media Center Edition


This download applies to customers that are running Microsoft Visual Studio. NET Professional 2003.

Note: Some samples also require access to the Northwind database residing in SQL Server or the Microsoft Data Engine (MSDE).

Top of pageTop of page

Instructions

  1. Click the Download button on this page to start the download.
  2. Do one of the following:
    • To start the installation immediately, click Open or Run this program from its current location.
    • To copy the download to your computer for installation at a later time, click Save or Save this program to disk.


The download is a self-extracting archive of the sample set. Because the path names can be long, we recommend you extract the set to the root folder of your hard drive (typically drive C).

To install MSDE for those samples that require access to the Northwind database

  1. Click the Start button, and then point to Programs. Point to the folder that contains the Microsoft .NET Framework SDK, and then click Samples and Quickstart Tutorials.


  2. Click Step 1: Install the .NET Framework Samples Database.


  3. Go to the command prompt and change directories to \Samples\Setup. This is typically: C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Samples\Setup.


  4. Type osql -E -S (local)\NetSDK -i InstNwnd.sql

Top of pageTop of page