Visual Basic Tablet PC Samples

These samples demonstrate important features of Tablet PC technology.

To access samples from Visual Studio

  1. On the Help menu, click Samples.

  2. In the Samples on Disk section of the readme file, click local Samples folder. By default, the samples are installed in drive:\Program Files\Microsoft Visual Studio 10.0\Samples\1033 or drive:\Program Files (x86)\Microsoft Visual Studio 10.0\Samples\1033.

  3. Right-click the .zip file that contains the samples you want to open and then click Extract All to extract the samples to a folder of your choice.

For the most current samples, go to the Visual Basic Samples Web site.

Security noteSecurity Note

Microsoft provides the included samples "AS IS" with no warranties. The code in the samples is provided just to illustrate concepts. The provided code may not meet security requirements for any specific environment. We recommend that you add security and error-handling code to your projects to make them as secure and robust as you deem appropriate.




Back of Pen Erase Sample

Demonstrates how to respond to the eraser on the back of a digitizer stylus.

Context Enabled Form Sample

Demonstrates the context-sensitive capabilities of Microsoft Windows XP Tablet PC Edition 2005.

Drawing Attributes Sample

Demonstrates common ways of manipulating the attributes that control the visual style of drawn ink, including size, shape, color, and position.

Enabling Gestures Sample

Demonstrates the system-recognition of gestures in Windows XP Tablet PC Edition 2005.

Ink Enabled Text Box Sample

Demonstrates text recognition options that are available on the Tablet PC.

Power Aware Sample

Demonstrates some of the classes that you can use to manage the power status of a computer.

Simple Text Recognition

Demonstrates the built-in recognizers that you can use to set up text recognition.

Speech Recognition Sample

Demonstrates the capabilities of the Speech API.

See Also

Other Resources

Visual Studio 2010 Samples

Visual Basic Sample Applications