PRB: ShowColor Method Might Not Work on Palm-Size Devices

ID: Q238725


The information in this article applies to:
  • Microsoft Windows CE Toolkit for Visual Basic 6.0, version 1.0


SYMPTOMS

If you use the ShowColor method of the Common Dialog control on some Palm-size PC devices, you receive the following error:

Application Error
An error was encountered while running this program: Object doesn't support this action.


STATUS

This behavior is by design. Not all manufacturers have implemented this option on their devices.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new Windows CE PsPC project in Microsoft Visual Basic.


  2. Add a Command button and a Microsoft CE Common Dialog control to the form.


  3. Paste the following code into Form1:


  4. 
    Option Explicit
    
    Private Sub Command1_Click()
       CommonDialog1.ShowColor
    End Sub 
  5. Run the project, targeting the Windows CE device.


  6. Click the Command button.


The following error message appears:
Application Error
An error was encountered while running this program: Object doesn't support this action.

Additional query words: vbce wce vbce6

Keywords : kbToolkit kbVBp600 kbGrpVB kbWinCE211
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: February 1, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.