Microsoft KB Archive/180628

{|
 * width="100%"|

PRB: Running Project Causes Error While Attempting to Load Form

 * }

Q180628

-

The information in this article applies to:


 * Microsoft 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.

Additional query words: vbce vbce5 wince

Keywords : kbToolkit kbVBp kbVBp500 kbOSWinCEsearch kbOSWinCE100 kbGrpDSVB

Issue type : kbprb

Technology : kbVBSearch kbAudDeveloper kbWinCETKVBSearch kbWinCESearch kbWinCETK100VB500