Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Samples
 WebCrawler Technology Sample

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Samples
WebCrawler Technology Sample

The WebCrawler sample application counts the links on a Web site and all the links that branch from that Web site. After the application has counted all the links, it provides the information shown in the following table.

Statistic

Meaning

Link count

The number of links that have been found on all evaluated Web pages.

Started

The time the application began evaluating Web pages.

Time

The amount of time the application has been evaluating Web pages.

This sample is available only in Visual C#.

For information about using the samples, see the following topics:

To build the sample using Visual Studio

  1. Open Windows Explorer and navigate to the CS subdirectory of the WebCrawler directory.

  2. Double-click the WebCrawler.sln file to open it in Visual Studio.

  3. Press F5 to compile and run the sample. You will be prompted to select whether to deploy the sample to a Pocket PC or to a Pocket PC emulator.

To run the sample

  1. In the Address box, enter a Web address.

    If you want to use the default proxy server, clear the Do not use proxy server check box.

  2. Click Start to begin evaluating the Web page.

    NoteNote:

    Ensure that your proxy server is specified in the Pocket PC connection settings of the device or emulator.

The .NET Compact Framework is required to build or run the sample. See How to: Install the .NET Compact Framework for installation instructions.

This sample demonstrates making HTTP requests from a Pocket PC. It counts the links that branch from any Web site, and demonstrates how to use regular expressions and events.

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker