Microsoft KB Archive/329742

= You receive an error message when you try to run a sample application in the Japanese version of SQL Server CE 2.0 =

Article ID: 329742

Article Last Modified on 9/9/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Windows CE Edition 2.0

-



This article was previously published under Q329742



SYMPTOMS
When you run one of the sample applications that are available in the Japanese version of Microsoft SQL Server 2000 Windows CE Edition, the sample application does not start and you may receive an error message. If you use Microsoft eMbedded Visual Basic, you may receive the following error message:



If you use Microsoft eMbedded Visual C++, you may receive an error message that is similar to the following:

ERROR:

The download path does not exist for \Windows\Start Menu\< .exe>.

This file will be skipped.

Do you wish to continue?



CAUSE
This problem occurs because the sample application refers to a folder name that does not exist on the device or emulator. The Japanese version of SQL Server CE includes the same eMbedded Visual Basic sample applications and eMbedded Visual C++ sample applications that are available in the English version of SQL Server CE. By default, these sample applications copy the application files to the Windows\Start Menu folder on the device or emulator. However, in the Japanese version of Windows CE, this folder is named:





RESOLUTION
To resolve this problem if you are running an eMbedded Visual Basic sample application, follow these steps:  On the Project menu, click Properties. In the Properties dialog box, modify the value in the Remote Path box to the following:





To resolve this problem if you are running an eMbedded Visual C++ sample application, follow these steps:  On the Project menu, click Settings. In the Settings dialog box, click the Debug tab. Modify the value in the Download Directory box to the following:



</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
By default, the eMbedded Visual Basic sample applications and the eMbedded Visual C++ sample applications copy the application files to the Windows\Start Menu folder on the device or emulator. The folder path is stored in each eMbedded Visual Basic project or eMbedded Visual C++ project.

This folder name is translated differently for the various product languages. All the sample applications that are available in SQL Server CE 2.0 use the Windows\Start Menu value. Therefore, the sample applications do not deploy correctly to an emulator that is running an image that uses a translated version of the folder name. This problem occurs when you run the sample application or try to debug it, and you do not first change the default download directory setting for the project.

<div class="references_section">