The Browser Helper Object (BHO)

Send Feedback

This code sample is named PIEHelper. It demonstrates now to create a Browser Helper Object (BHO), which Internet Explorer (IE) Mobile loads each time it starts up.

Feature Area

Relevant APIs


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 CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\ATL\Piehelper\``PIEHelper.sln

    C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Samples\CPP\ATL\Piehelper\``PIEHelper.sln

    Microsoft Visual Studio 2005 launches and loads the solution.

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

  3. Open to the PieHelper project properties.

  4. Navigate to Configuration Options > Debugging.

  5. Set the Debugger to Launch to Smart Device Native Debugger.

  6. Set the Remote Executable to \windows\iexplore.exe.

  7. Deploy the solution (F5).

    The sample application is copied to the device, registered, and then Internet Explorer Mobile launches.


When Internet Explorer Mobile launches, the Browser Helper Object is loaded. It creates a window to display web browser events.

Note   This window might initially be hidden by Internet Explorer Mobile's main window. If it is, just navigate with Internet Explorer Mobile as you normally would, and whenever you want to see the Browser Helper Object window, minimize Internet Explorer Mobile.


Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Smartphone SDK: Windows Mobile 5.0 Smartphone SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.

See Also

Code Samples | Internet Explorer Mobile Reference | HTML Control API

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.