2003 Code Downloads
December Code Downloads
Threading: Break Free of Code Deadlocks in Critical Sections Under Windows
Matt Pietrek and Russ Osterlund
Download the code : CriticalSections.exe (415 KB)
Browse the code in the MSDN Magazine Code ExplorerMSMQ and .NET: Send MSMQ Messages Securely Across the Internet with HTTP and SOAP
David S. Platt
Download the code : MSMQandNET.exe (375 KB)
Browse the code in the MSDN Magazine Code ExplorerRemoting: Managing the Lifetime of Remote .NET Objects with Leasing and Sponsorship
Juval Lowy
Download the code : LeaseManager.exe (166 KB)
Browse the code in the MSDN Magazine Code ExplorerBeyond Macros: Create Word and Excel Smart Documents with C++ and XML
Mike Kelly
Download the code : SmartDocuments.exe (159 KB)
Browse the code in the MSDN Magazine Code ExplorerOffice 2003: Host an Interactive Visio Drawing Surface in .NET Custom Clients
Mai-lan Tomsen Bukovec and Blair Shaw
Download the code : Visio2003.exe (325 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Custom Design-time Control Features in Visual Studio .NET
Dino Esposito
Download the code : CuttingEdge0312.exe (165 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: A Survey of Publicly Available Web Services at Microsoft
Aaron Skonnard
Download the code : XMLFiles0312.exe (284 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Windows Forms Q&A
Ken Spencer
Download the code : AdvancedBasics0312.exe (131 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Docking the Menu Bar, Abstract Classes vs. Interfaces, and More
Paul DiLascia
Download the code : CQA0312.exe (334 KB)
Browse the code in the MSDN Magazine Code Explorer
November Code Downloads
Encrypt It: Keep Your Data Secure with the New Advanced Encryption Standard
James McCaffrey
Download the code : AES.exe (143 KB)
Browse the code in the MSDN Magazine Code ExplorerAuthorize It: Use Role-Based Security in Your Middle Tier .NET Apps with Authorization Manager
Keith Brown
Download the code : AuthorizationManager.exe (128 KB)
Browse the code in the MSDN Magazine Code ExplorerSecure It: WS-Security and Remoting Channel Sinks Give Message-Level Security to Your SOAP Packets
Neeraj Srivastava
Download the code : RemotingChannelSinks.exe (119 KB)
Browse the code in the MSDN Magazine Code ExplorerWeb Q&A: Secure Passwords, Nested XML, and More
Edited by Nancy Michell
Download the code : WebQA0311.exe (114 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Custom Provider Controls
Dino Esposito
Download the code : CuttingEdge0311.exe (139 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: SQL Server Metadata
Ken Spencer
Download the code : AdvancedBasics0311.exe (135 KB)
Browse the code in the MSDN Magazine Code ExplorerThe ASP Column: ATL Server Versus ASP.NET
George Shepherd
Download the code : ASPColumn0311.exe (534 KB)
Browse the code in the MSDN Magazine Code ExplorerBugslayer: Google from Visual Studio .NET
John Robbins
Download the code : Bugslayer0311.exe (669 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Menu Tips in an MFC App
Paul DiLascia
Download the code : CQA0311.exe (193 KB)
Browse the code in the MSDN Magazine Code Explorer
October Code Downloads
Tablet PC: Achieve the Illusion of Handwriting on Paper When Using the Managed INK API
Carlos C. Tapang
Download the code : TabletPC.exe (186 KB)
Browse the code in the MSDN Magazine Code ExplorerOLAP: Build an OLAP Reporting App in ASP.NET Using SQL Server 2000 Analysis Services and Office XP
Jeffrey Hasan and Kenneth Tu
Download the code : OLAP.exe (373 KB)
Browse the code in the MSDN Magazine Code ExplorerBlogging: Design Your Own Weblog Application from Scratch Using ASP.NET, JavaScript, and OLE DB
Marco Bellinaso
Download the code : Blogging.exe (151 KB)
Browse the code in the MSDN Magazine Code ExplorerPlug-Ins: Let Users Add Functionality to Your .NET Applications with Macros and Plug-Ins
Jason Clark
Download the code : Plug-Ins.exe (135 KB)
Browse the code in the MSDN Magazine Code ExplorerData Points: Exploring the ADO.NET DataRow
John Papa
Download the code : DataPoints0310.exe (136 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Nested Grids for Hierarchical Data
Dino Esposito
Download the code : CuttingEdge0310.exe (135 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Enterprise Services, SQL Script Editing
Ken Spencer
Download the code : AdvancedBasics0310.exe (150 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Getting a Menu Handle, Declaring GetParam, and Filtering File Names
Paul DiLascia
Download the code : CQA0310.exe (152 KB)
Browse the code in the MSDN Magazine Code Explorer
September Code Downloads
Office 2003: Bring the Power of Visual Studio .NET to Business Solutions Built with Microsoft Office
Ken Getz and Brian A. Randell
Download the code : MicrosoftOffice2003.exe (152 KB)
Browse the code in the MSDN Magazine Code Explorer.NET Remoting: Create a Custom Marshaling Implementation Using .NET Remoting and COM Interop
Jim Sievert
Download the code : CustomMarshaling.exe (4,233 KB)
Browse the code in the MSDN Magazine Code Explorer.NET Internals: Rewrite MSIL Code on the Fly with the .NET Framework Profiling API
Aleksandr Mikunov
Download the code : NETProfilingAPI.exe (2,901 KB)
Browse the code in the MSDN Magazine Code ExplorerCoroutines: Implementing Coroutines for .NET by Wrapping the Unmanaged Fiber API
Ajai Shankar
Download the code : CoroutinesinNET.exe (135 KB)
Browse the code in the MSDN Magazine Code ExplorerVisual C++ 6.0: Don't Let Memory Allocation Failures Crash Your Legacy STL Application
James Hebben
Download the code : LegacySTLFix.exe (111 KB)
Browse the code in the MSDN Magazine Code ExplorerEditor's Note: Tales of a GPS Demo
Download the code : Ednote0309.exe (1,016 KB)
Browse the code in the MSDN Magazine Code ExplorerData Points: Developing Apps with the .NET Compact Framework, SQL Server CE, and Replication
John Papa
Download the code : DataPoints0309.exe (150 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Managing Your Remote Windows Clipboard
Dino Esposito
Download the code : CuttingEdge0309.exe (1,286 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: Introducing the Web Services Enhancements 2.0 Messaging API
Aaron Skonnard
Download the code : XMLFiles0309.exe (263 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Creating Text Images On the Fly with GDI+
Ken Spencer
Download the code : AdvancedBasics0309.exe (193 KB)
Browse the code in the MSDN Magazine Code ExplorerThe ASP Column: The Internet Explorer Toolbar Control
George Shepherd
Download the code : ASPColumn0309.exe (139 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Retrieving Hidden Path Names, Mouse Events in C#
Paul DiLascia
Download the code : CQA0309.exe (164 KB)
Browse the code in the MSDN Magazine Code Explorer
August Code Downloads
ASP.NET: Jump Start Your Web Site Development with the ASP.NET Starter Kits
Paul Litwin
Download the code : StarterKits.exe (141 KB)
Browse the code in the MSDN Magazine Code ExplorerDataGrid: Tailor Your DataGrid Apps Using Table Style and Custom Column Style Objects
Kristy Saunders
Download the code : DataGrids.exe (424 KB)
Browse the code in the MSDN Magazine Code ExplorerXSLT: Simplify Development and Maintenance of Microsoft .NET Projects with Code Generation Techniques
Peter Ashley
Download the code : CodeGeneration.exe (224 KB)
Browse the code in the MSDN Magazine Code ExplorerDCOM Interop: Generate Custom Managed C++ Wrappers for Easier COM Interoperation Using DCOMSuds
Vishwas Lele
Download the code : DCOMSuds.exe (296 KB)
Browse the code in the MSDN Magazine Code ExplorerWeb Services: Extend the ASP.NET WebMethod Framework with Business Rules Validation
Aaron Skonnard and Dan Sullivan
Download the code : BusinessRules.exe (223 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Creating a Multi-table DataGrid in ASP.NET
Dino Esposito
Download the code : CuttingEdge0308.exe (116 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Data Binding in Visual Basic .NET
Ken Spencer
Download the code : AdvancedBasics0308.exe (223 KB)
Browse the code in the MSDN Magazine Code ExplorerSecurity Briefs: Hashing Passwords, The AllowPartiallyTrustedCallers Attribute
Keith Brown
Download the code : SecurityBriefs0308.exe (110 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Finding a Win32 Handle, HTML in CHtmlCtrl
Paul DiLascia
Download the code : CQA0308.exe (1,261 KB)
Browse the code in the MSDN Magazine Code Explorer
July Code Downloads
GDI+: A Primer on Building a Color Picker User Control with GDI+ in Visual Basic .NET or C#
Ken Getz
Download the code : GDIColorPicker.exe (395 KB)
Browse the code in the MSDN Magazine Code ExplorerVector Graphics: Build Flexible, Lightweight XML-Based Images for ASP.NET Using Scalable Vector Graphics
Dennis Forbes
Download the code : ScalableVectorGraphics.exe (123 KB)
Browse the code in the MSDN Magazine Code ExplorerWeb Services: Extend the ASP.NET WebMethod Framework by Adding XML Schema Validation
Aaron Skonnard and Dan Sullivan
Download the code : XMLSchemaValidation.exe (208 KB)
Browse the code in the MSDN Magazine Code ExplorerReal-World XML: Manipulate XML Data Easily with the XPath and XSLT APIs in the .NET Framework
Dino Esposito
Download the code : XPathandXSLT.exe (166 KB)
Browse the code in the MSDN Magazine Code ExplorerWeb Q&A: Accessible Images, Image Format Converter, and More
Edited by Nancy Michell
Download the code : WebQA0307.exe (127 KB)
Browse the code in the MSDN Magazine Code ExplorerData Points: Managing Hierarchical Inserts in ASP.NET and ADO.NET
John Papa
Download the code : DataPoints0307.exe (145 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Working with Images in the .NET Framework
Dino Esposito
Download the code : CuttingEdge0307.exe (343 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: XML Namespace Collisions, XmlNodeList and Deserialization, and More
Aaron Skonnard
Download the code : XMLFiles0307.exe (350 KB)
Browse the code in the MSDN Magazine Code Explorer.NET Column: Calling Win32 DLLs in C# with P/Invoke
Jason Clark
Download the code : NET0307.exe (133 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Passing Data Between Objects in an Application
Ken Spencer
Download the code : AdvancedBasics0307.exe (178 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Parent and Child Window Captions, More MoveDlg
Paul DiLascia
Download the code : CQA0307.exe (811 KB)
Browse the code in the MSDN Magazine Code Explorer
June Code Downloads
Windows Server 2003: Discover Improved System Info, New Kernel, Debugging, Security, and UI APIs
Matt Pietrek
Download the code : WindowsServer2003.exe (1,024 KB)
Browse the code in the MSDN Magazine Code ExplorerASP.NET Pipeline: Use Threads and Build Asynchronous Handlers in Your Server-Side Web Code
Fritz Onion
Download the code : Threading.exe (121 KB)
Browse the code in the MSDN Magazine Code ExplorerZip Your Data: Using the Zip Classes in the J# Class Libraries to Compress Files and Data with C#
Ianier Munoz
Download the code : ZipCompression.exe (150 KB)
Browse the code in the MSDN Magazine Code Explorer.NET Remoting: Secure Your .NET Remoting Traffic by Writing an Asymmetric Encryption Channel Sink
Stephen Toub
Download the code : NETRemoting.exe (150 KB)
Browse the code in the MSDN Magazine Code ExplorerSmart Cleanup: Achieve More Reliable Resource Management with Our Custom C++ Classes
Eric Niebler
Download the code : ResourceManagement.exe (196 KB)
Browse the code in the MSDN Magazine Code ExplorerData Points: Techniques in Filling ADO.NET DataTables: Performing Your Own Analysis
John Papa
Download the code : DataPoints0306.exe (128 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: Advanced Type Mappings
Aaron Skonnard
Download the code : XMLFiles0306.exe (157 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: ASP.NET Controls Templates
Dino Esposito
Download the code : CuttingEdge0306.exe (141 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Adding New Features with User Controls
Ken Spencer
Download the code : AdvancedBasics0306.exe (156 KB)
Browse the code in the MSDN Magazine Code ExplorerThe ASP Column: Tree Controls with XSL
George Shepherd
Download the code : ASPColumn0306.exe (128 KB)
Browse the code in the MSDN Magazine Code ExplorerBugslayer: SOS: It's Not Just an ABBA Song Anymore
John Robbins
Download the code : Bugslayer0306.exe (119 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Locking Column Headers, Implementing Singleton Classes
Paul DiLascia
Download the code : CQA0306.exe (137 KB)
Browse the code in the MSDN Magazine Code Explorer
May Code Downloads
Real-World XML: Manipulate XML Data Easily with Integrated Readers and Writers in the .NET Framework
Dino Esposito
Download the code : Real-WorldXML.exe (120 KB)
Browse the code in the MSDN Magazine Code ExplorerDebugging Tool: Build a Logging and Event Viewing Library to Help Debug Your .NET Framework-based App
Daryn Kiely
Download the code : LoggingTool.exe (131 KB)
Browse the code in the MSDN Magazine Code ExplorerMetadata: Create a Database Schema Repository with Meta Data Services in SQL Server 2000
Alok Mehta and Ricardo Rodriguez
Download the code : MetaDataServices.exe (114 KB)
Browse the code in the MSDN Magazine Code ExplorerVisual Studio .NET: Building Windows Forms Controls and Components with Rich Design-Time Features, Part 2
Michael Weinhardt and Chris Sells
Download the code : Design-TimeControls.exe (328 KB)
Browse the code in the MSDN Magazine Code ExplorerVirus Hunting: Understand Common Virus Attacks Before They Strike to Better Protect Your Apps
Jason Fisher
Download the code : VirusHunting.exe (115 KB)
Browse the code in the MSDN Magazine Code ExplorerData Points: Techniques for Managing Rowset Paging
John Papa
Download the code : DataPoints0305.exe (110 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Form-based Programming in ASP.NET
Dino Esposito
Download the code : CuttingEdge0305.exe (117 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: Web Services Encoding and More
Aaron Skonnard
Download the code : XmlFiles0305.exe (339 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Windows Forms Controls
Ken Spencer
Download the code : AdvancedBasics0305.exe (144 KB)
Browse the code in the MSDN Magazine Code ExplorerHouse of Web Services: Mandatory Headers in ASP.NET Web Services
Tim Ewald
Download the code : WebServices0305.exe (138 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Window Destruction in the .NET Framework
Paul DiLascia
Download the code : CQA0305.exe (120 KB)
Browse the code in the MSDN Magazine Code Explorer
April Code Downloads
Visual Studio .NET: Building Windows Forms Controls and Components with Rich Design-Time Features
Michael Weinhardt and Chris Sells
Download the code : Design-TimeControls.exe (286 KB)
Browse the code in the MSDN Magazine Code ExplorerASP.NET: Nine Options for Managing Persistent User State in Your ASP.NET Application
Steven Smith
Download the code : ASPNETUserState.exe (117 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced T-SQL: Automate the Generation of Stored Procedures for Your Database
Peter W. DeBetta and J. Byer Hill
Download the code : StoredProcedures.exe (108 KB)
Browse the code in the MSDN Magazine Code ExplorerEditor's Note: MP3 Playlists with Visual Basic .NET
Download the code : EditorsNote0304.exe (132 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: MyTracer Monitors and Traces ASP.NET Apps
Dino Esposito
Download the code : CuttingEdge0304.exe (187 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: Web Services and DataSets
Aaron Skonnard
Download the code : XMLFiles0304.exe (279 KB)
Browse the code in the MSDN Magazine Code ExplorerWicked Code: Supporting Database Cache Dependencies in ASP.NET
Jeff Prosise
Download the code : WickedCode0304.exe (135 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Desktop Location, sscanf Equivalents in C#, and More
Paul DiLascia
Download the code : CQA0304.exe (154 KB)
Browse the code in the MSDN Magazine Code Explorer
March Code Downloads
Visual C++ .NET: Language Enhancements and Simplified GUI Development Enrich Your C++ Apps
Richard Grimes
Download the code : VisualC++NET.exe (61 KB)
Browse the code in the MSDN Magazine Code ExplorerWindows Forms: .NET Framework 1.1 Provides Expanded Namespace, Security, and Language Support for Your Projects
Chris Sells
Download the code : WindowsForms.exe (135 KB)
Browse the code in the MSDN Magazine Code ExplorerSite Skinning: Rich XML Classes Let Users Personalize Their Visual Experience on Your ASP.NET Site
Harry Pierson
Download the code : SiteSkinning.exe (216 KB)
Browse the code in the MSDN Magazine Code ExplorerContexts in .NET: Decouple Components by Injecting Custom Services into Your Object's Interception Chain
Juval Lowy
Download the code : ContextsinNET.exe (326 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: Merging XML Files, Schema Validation, and More
Aaron Skonnard
Download the code : XMLFiles0303.exe (174 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: Customize Your Open File Dialog
Dino Esposito
Download the code : CuttingEdge0303.exe (96 KB)
Browse the code in the MSDN Magazine Code ExplorerDesign Patterns: Creating Dynamic Factories in .NET Using Reflection
Romi Kovacs
Download the code : DesignPatterns0303.exe (79 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Handling Null Values with Controls
Ken Spencer
Download the code : AdvancedBasics0303.exe (113 KB)
Browse the code in the MSDN Magazine Code ExplorerHouse of Web Services: Accessing Raw SOAP Messages in ASP.NET Web Services
Tim Ewald
Download the code : WebServices0303.exe (54 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Find Icons, Launch an App from List Control, and More
Paul DiLascia
Download the code : CQA0303.exe (8,029 KB)
Browse the code in the MSDN Magazine Code Explorer
February Code Downloads
Class Templates: Bring the Power of Templates to Your .NET Applications with the CodeDOM Namespace
Adam J. Steinert
Download the code : CodeDOM.exe (169 KB)
Browse the code in the MSDN Magazine Code ExplorerBITS: Write Auto-Updating Apps with .NET and the Background Intelligent Transfer Service API
Jason Clark
Download the code : BITS.exe (363 KB)
Browse the code in the MSDN Magazine Code ExplorerPrinting: Preview and Print from Your Windows Forms App with the .NET Printing Namespace
Alex Calvo
Download the code : PrintinginNET.exe (134 KB)
Browse the code in the MSDN Magazine Code ExplorerWindows Forms: Give Your .NET-based Application a Fast and Responsive UI with Multiple Threads
Ian Griffiths
Download the code : Multithreading.exe (106 KB)
Browse the code in the MSDN Magazine Code ExplorerDelegates in .NET: A Primer on Creating Type-Safe References to Methods in Visual Basic .NET
Jesse Liberty
Download the code : Delegates.exe (36 KB)
Browse the code in the MSDN Magazine Code ExplorerWeb-Aware Apps: Build Hyperlinks into Your Client App with the Windows Forms LinkLabel Control
Dan Hurwitz
Download the code : LinkLabel.exe (49 KB)
Browse the code in the MSDN Magazine Code ExplorerThe XML Files: XPath Selections and Custom Functions, and More
Aaron Skonnard
Download the code : XMLFiles0302.exe (147 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: The ASP.NET View State
Dino Esposito
Download the code : CuttingEdge0302.exe (39 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Automatically Generating Proxy Classes
Ken Spencer
Download the code : AdvancedBasics0302.exe (76 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Singleton Class Private Constructor, C# Singleton Class, and More
Paul DiLascia
Download the code : CQA0302.exe (40 KB)
Browse the code in the MSDN Magazine Code Explorer
January Code Downloads
Design: Inspect and Optimize Your Program's Memory Usage with the .NET Profiler API
Jay Hilyard
Download the code : NetProfilerAPI.exe (1,492 KB)
Browse the code in the MSDN Magazine Code ExplorerDebug: Detect and Plug GDI Leaks in Your Code with Two Powerful Tools for Windows XP
Christophe Nasarre
Download the code : GDILeaks.exe (13,279 KB)
Browse the code in the MSDN Magazine Code ExplorerTest: Build Quick and Easy UI Test Automation Suites with Visual Studio .NET
James McCaffrey
Download the code : UITestAutomation.exe (83 KB)
Browse the code in the MSDN Magazine Code ExplorerCutting Edge: ASP. NET Client-side Hosting with Cassini
Dino Esposito
Download the code : CuttingEdge0301.exe (107 KB)
Browse the code in the MSDN Magazine Code ExplorerAdvanced Basics: Automatically Generating a Web Service
Ken Spencer
Download the code : AdvancedBasics0301.exe (99 KB)
Browse the code in the MSDN Magazine Code ExplorerC++ Q&A: Progress Indicator in the Status Bar, International UI Terms
Paul DiLascia
Download the code : CQA0301.exe (67 KB)
Browse the code in the MSDN Magazine Code Explorer