Export (0) Print
Expand All

Smart Device Walkthroughs

These walkthroughs provide step-by-step instructions for implementing various tasks in smart device projects. Each walkthrough provides procedures for developing a specific type of device application. Visual Studio walkthroughs designed for desktop applications typically do not work without modification in device applications, primarily because one or more classes available in the .NET Framework are not present in the .NET Compact Framework.

Because the default target device that is used in the following walkthroughs is the emulator, you can complete the walkthroughs without a physical device. If you have a physical device connected to and communicating with the development computer, you can target that device instead of the emulator. For more information, see Hardware and Software Requirements for Smart Device Projects.

Note:

Some interface elements, such as the New Project Wizard, can obscure the text of a walkthrough. One workaround is to switch the Help viewer from the Visual Studio integrated development environment (IDE) browser to an external window. To make this change, on the Tools menu, click Options, click Environment, and then click Help. Select External help and restart the IDE for the change to take effect.

Walkthrough: Creating Windows Forms Applications for a Device

Describes how to develop a simple Windows Forms application and how to download it to a smart device.

Walkthrough: Authoring User Controls for Devices

Demonstrates how to author a user control in managed device projects.

Walkthrough: Adding a Simple Attribute to a User Control

Describes customizing user controls in device projects.

Walkthrough: A Master-Detail Application

Describes how to establish a SQL Server Compact 3.5 database as a data source, drag data objects bound to controls onto a Windows Form, configure a master-detail relationship, and more.

Walkthrough: A Parameterized Query Application

Describes how to establish a SQL Server Compact 3.5 database as a data source, drag data objects bound to controls onto a Windows Form, and include a parameterized query in the application.

Walkthrough: Hello World: A COM Interop Example for Smart Devices

Demonstrates how a managed project can host a COM object.

How to: Create a Multiplatform Device project (Visual C++)

Describes how to target multiple devices.

Walkthrough: Creating a Multiplatform MFC Application for Smart Devices

Describes how to build an MFC application that targets multiple platforms.

Walkthrough: Creating an MFC Multiplatform ActiveX Control for Smart Devices

Describes how to build an MFC ActiveX control.

Walkthrough: Creating an ATL Multiplatform ActiveX Control for Smart Devices

Describes how to create a multiplatform smart device ATL project and simple ATL control.

Walkthrough: Creating and Running a Smart Device Unit Test

Describes how to create and run a smart device unit test.

Walkthrough: Exchanging Data between Desktop and Device Applications

Describes how to use the Smart Device Connectivity API to exchange data between device and desktop applications.

Walkthrough: Debugging a Solution that Includes Both Managed and Native Code

Describes the steps for alternately starting the native and managed debuggers.

Walkthrough: Packaging a Smart Device Solution for Deployment

Describes how to generate a CAB file to hand off to end users for installation on a device, and how to use the IDE, instead of manually configuring the .inf file, to modify various settings.

Smart Device Samples

Provides complete projects that demonstrate applications that are based on the .NET Compact Framework and links to samples using native code.

Visual Studio Walkthroughs

Provides step-by-step instructions for different types of applications for the desktop.

Community Additions

Show:
© 2014 Microsoft