.NET Compact Framework How-To TopicsĀ
The following list provides links to topics containing sample code and procedures for developing and using .NET Compact Framework applications. These topics demonstrate controls in the Microsoft.WindowsCE.Forms namespace, creating custom controls, using interoperability, and workarounds for unsupported class members or other features. Included are topics that demonstrate managed Direct3D for devices, which use the Microsoft.WindowsMobile.DirectX and Microsoft.WindowsMobile.DirectX.Direct3D namespaces.
How-To Topic Links
Links are categorized by their sections.
Building Applications and Core Tasks
How to: Install the .NET Compact Framework
How to: Configure Runtime Version
How to: Compile at the Command Prompt
How to: Get the Device Platform *
How to: Get the Application Directory
How to: Get the Device ID and Name *
How to: Get or Set the System Time *
How to: Install Assemblies in the Global Assembly Cache
* - Uses platform invoke of native code
Data Access and XML Support
How to: Use the DataGrid on the Pocket PC
How to: Use the DataGrid on the Smartphone
Encoding and Localization
How to: Get Culture Information
Graphics and Drawing
How to: Display a Box Around Text
How to: Display a Gradient Fill *
How to: Draw Images Off-Screen
How to: Draw Images with Transparency
How to: Set a Background Image on a Form
* - Uses platform invoke of native code
Interoperability
How to: Use a Class for Hooking Windows Procedures
How to: Subclass a TreeView by Using Native Callbacks
How to: Subclass a Button by Using Native Callbacks
How to: Use a Helper Class for Platform Invokes
How to: Use the MessageWindow Class
Message Queuing in the .NET Compact Framework
How to: Use MSMQ in the .NET Compact Framework
Mobile Direct3D Programming
How to: Convert Desktop Direct3D Applications
How to: Transform Direct3D Objects
How to: Move and Target the Camera
How to: Display and Select Meshes
How to: Handle Screen Rotation
Networking and Connectivity
How to: Send an HTTP Request with Proxy
How to: Use a Proxy Generated by Wsdl.exe
How to: Use the WebBrowser Control in the .NET Compact Framework
How to: Make an Infrared File Transfer
How to: Make an Infrared File Transfer
How to: Use MSMQ in the .NET Compact Framework
Performance and Diagnostics
How to: Generate Performance Statistics
How to: Monitor Performance at Run Time
How to: Use the High-Resolution Timer *
* - Uses platform invoke of native code
Pocket PC Development
How to: Detect Navigation Keys
How to: Set Pocket PC Input Methods
How to: Use a DocumentList Control
How to: Use the HardwareButton Component
How to: Use the InputPanel Component
Smartphone Development and the .NET Compact Framework
How to: Override Smartphone Soft Keys
How to: Override the Smartphone Back Key.
How to: Scroll a Form of Labels
How to: Set Smartphone Input Modes
Windows CE Development
How to: Create a Headless Device
Windows Forms Controls
How to: Control Docking Behavior
How to: Create a Custom Double-Click Event
How to: Create a Custom Image Button Control
How to: Create a Numeric Text Box
How to: Create an Owner-Drawn List Box
How to: Create OnEnter Functionality
How to: Handle Orientation and Resolution Changes
How to: Use the DateTimePicker Class in the .NET Compact Framework
How to: Use the WebBrowser Control in the .NET Compact Framework
Class Library
How to: Use the Class Library for the .NET Compact Framework
See Also
Other Resources
.NET Compact Framework Technology Samples
.NET Compact Framework Application Samples