BUG: Unable To Change Icon Desktop Positions (287150)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 2.12
  • Microsoft Windows CE Platform Builder 3.0

This article was previously published under Q287150

SYMPTOMS

Setting the icon positions in the Wceshellxx.db files for a configuration using the Handheld PC (H/PC) style shell does not change the placement of icons on the desktop. Any databases that are defined following the first one in the Wceshellxx.db files are not available through the Windows CE database application programming interfaces (APIs). Applications that are dependent on these databases may exhibit unpredictable behavior when this occurs.

CAUSE

The database entries in the Wceshellxx.db files contain incorrect formatting, as follows:
Database
  Record
  End
Database
  Record
  End
				
The matching End Database for each Database block is missing. The database blocks should resemble the following:
Database
  Record
  End
End Database
Database
  Record
  End
End Database
				

RESOLUTION

To correct the problem, edit the Wceshellxx.db file or files that are located in the Public\Wceshellfe\Oak\Files folder and add the End Database directive after the last record block of each database. Rebuild the platform and verify that the Initdb.ini file that was created in the platform's Release folder contains the properly formatted database definitions.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The shell databases are used to store information, such as actions to take on a system event and the position of icons on the desktop.

The misformatted database information is only included in the ROM if the the project includes the Explorer shell and the IMGICONPOSITIONS build flag is enabled.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbbug kbpending KB287150