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



The information in this article applies to:

  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft eMbedded Visual C++, Version:4.0

This article was previously published under Q238725

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 Palm-size PC project in either Visual Basic or eMbedded Visual Basic. Form1 is created by default.
  2. Add a Command button and a Microsoft CE Common Dialog control to the form.
  3. Paste the following code into Form1:
    Option Explicit
    
    Private Sub Command1_Click()
       CommonDialog1.ShowColor
    End Sub
    					
  4. Run the project, targeting the Windows CE device.
  5. 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.

Modification Type:MinorLast Reviewed:8/19/2005
Keywords:kbprb kbToolkit KB238725