PRB: Running Project Causes Error While Attempting to Load Form

Last reviewed: February 6, 1998
Article ID: Q180628
The information in this article applies to:
  • Windows CE Toolkit for Visual Basic 5.0, version 1.0

SYMPTOMS

The following error occurs when running a Windows CE Project in Visual Basic 5.0:

   Error while attempting to load the Startup form.

CAUSE

This Application Error is generated because an ActiveX control used in the project has not been installed in the target environment (either the emulation environment or the remote device).

Controls must be installed on the desired platform before use. To use a control in emulation, it must be installed in the emulation environment. Similarly, the control has to be installed onto the device to be used there.

RESOLUTION

From the Visual Basic 5.0 design environment with a Windows CE project loaded:

  1. Select Control Manager from the Windows CE menu.

  2. Select the control (or class) you want to install.

  3. Select Install from either the Emulation or Device menus to install the control on the appropriate target.

    NOTE: The Install Control item on both the Emulation and Device menus installs new controls, such as those from third-party vendors.

MORE INFORMATION

To allow your system to automatically synchronize any controls on your desktop to either the emulation environment or your remote device, select the appropriate control shown by the Control Manager, select the Synchronize menu, and then choose either the Emulation or Device options.

Keywords          : vb5all vbce kberrmsg
Version           : WINDOWS:1.0
Platform          : WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 6, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.