Microsoft KB Archive/823993

= Incorrect assembly link location for an Excel 2003 workbook that has a file name with DBCS characters =

Article ID: 823993

Article Last Modified on 2/3/2006

-

APPLIES TO


 * Microsoft Office Excel 2003
 * Microsoft Visual Studio Tools for the Microsoft Office System version 2003

-





SYMPTOMS
When you use a character from the double-byte character set (DBCS) in the file name of a Microsoft Office Excel 2003 workbook, the assembly link location is incorrect.



CAUSE
This problem occurs when you create an Excel 2003 workbook by using the Microsoft Windows Explorer New command. When you create the workbook, Excel 2003 does not correctly set the code page for the custom properties storage of the workbook.



RESOLUTION
To resolve this problem, you can use either of the following methods:

Method 1
 * 1) Start Excel 2003.
 * 2) On the File menu, click New to create the workbook.

Method 2
 * 1) Start Excel 2003.
 * 2) Open the workbook that you first created in Windows Explorer.
 * 3) On the File menu, click Save As to save the workbook.



STATUS
Microsoft has confirmed that this is a bug in Excel 2003.



MORE INFORMATION
To reproduce the problem, you must use a computer that has the following applications installed:
 * A localized version of Microsoft Windows that uses the DBCS
 * Microsoft Visual Studio .NET 2003 (English-US)
 * Microsoft Office 2003 Professional Edition (English-US)
 * Visual Studio Tools for Office (English-US)

Steps to reproduce the problem
 Start Windows Explorer. On the File menu, click New, and then click Microsoft Excel Worksheet. Name the new Excel 2003 workbook file.

Note The new Excel 2003 workbook file name must contain a DBCS character. Start Visual Studio .NET. Create a new project by using the Excel 2003 workbook: <ol style="list-style-type: lower-alpha;"> On the File menu, point to New, and then click Project.

The New Project dialog box appears.</li> In the Project Types list, double-click Microsoft Office System Projects, and then click Visual Basic Projects.</li> In the project Templates list, click Excel Workbook. In the Name box, type ExcelTest for the project name, and then click OK.

The Microsoft Office Project Wizard appears.</li> In the Microsoft Office Project Wizard dialog box, click Use existing document. Select the workbook that you just created. Click Finish.</li></ol> </li> In Solution Explorer, click ExcelTest.</li> On the View menu, click Properties.

In the Properties window, notice that the Assembly Link Location property path incorrectly contains a question mark (?) character instead of the DBCS character that you used to name the workbook file.</li></ol>

Keywords: kbbug kbdbcs kblocalization KB823993

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.