PRB: Adding Unsupported CommandBar to a Pocket PC Form Causes No Error (260109)



The information in this article applies to:

  • Microsoft eMbedded Visual Basic 3.0

This article was previously published under Q260109

SYMPTOMS

The Microsoft CE CommandBar 3.0 control is not supported in the Pocket PC platform. You can note this by its absence in the Project Component dialog box. However, an attempt to add the control to the form does not pose any error for you until you run the project on the emulation or the device.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Pocket PC project in eMbedded Visual Basic (eVB). Form1 is created by default.
  2. On the Project menu, click to select Components, and then click Browse.
  3. Add MSCECommandBar.dll from C:\Program Files\Microsoft eMbedded Tools\Evb\devctrls. eVB prompts you with this message box, "Would you like to add this control to your current platform?" If you click Yes, this control is added to the toolbox.
  4. Add the CommandBar control to Form1.
  5. Press the F5 key to run the application in emulation, and note the following error message in the emulator:
    The control CommandBar1 ({B19FC05B-0F51-11D2-9B8C-00C04FAD5AEC}) could not be created.

Modification Type:MajorLast Reviewed:10/15/2002
Keywords:kbBug kbDSupport kbprb KB260109