Export (0) Print
Expand All
Expand Minimize

Connection Manager Helper

Windows Mobile 6.5
4/8/2010

This code sample is named CmHelper. It demonstrates how to write a simplified Connection Manager client by deriving functionality from a helper class. This results in a client that focuses on only three things:

  • where the data is
  • whether a proxy is used
  • what information to show the user while connecting

To run the code sample
  1. Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:

    C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\PocketPC\CPP\MFC\CMHELPER

    Microsoft Visual Studio launches and loads the solution.

  2. Build the solution (Ctrl+Shift+B).

  3. Deploy the solution (F5).

To launch the application
  1. On the mobile device, navigate to the Program Files folder, and then to the cmhelper folder.

  2. Launch the executable file, cmhelper.exe.

Bb158792.54cb268c-900d-41e4-936e-6a75a05f0f5c(en-us,MSDN.10).gif
  1. Type a URL into Network Path.
  2. If you will be using a proxy server, then check Use proxy if available.
  3. Click either Check, Connect, or Disconnect. Status details appear in the scrollable text field.

Button Action

Check

See if you can connect within 4 seconds.

Connect

Establish a connection.

Disconnect

Break the connection.

Pocket PC SDK: Windows Mobile Professional SDK 

Development Environment: Visual Studio 2005 or 2008.

ActiveSync: Version 4.5.

Community Additions

ADD
Show:
© 2014 Microsoft