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



The information in this article 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

  1. Start Windows Explorer.
  2. On the File menu, click New, and then click Microsoft Excel Worksheet.
  3. Name the new Excel 2003 workbook file.

    Note The new Excel 2003 workbook file name must contain a DBCS character.
  4. Start Visual Studio .NET.
  5. Create a new project by using the Excel 2003 workbook:
    1. On the File menu, point to New, and then click Project.

      The New Project dialog box appears.
    2. In the Project Types list, double-click Microsoft Office System Projects, and then click Visual Basic Projects.
    3. 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.
    4. In the Microsoft Office Project Wizard dialog box, click Use existing document. Select the workbook that you just created. Click Finish.
  6. In Solution Explorer, click ExcelTest.
  7. 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.

Modification Type:MinorLast Reviewed:2/3/2006
Keywords:kbDBCS kbLocalization kbBug KB823993 kbAudDeveloper