Microsoft KB Archive/814913

= BUG: &quot;Invalid Procedure Call or Argument&quot; error while creating Visual C# and Visual J# projects in Japanese Visual Studio .NET using English OS =

Article ID: 814913

Article Last Modified on 8/26/2005

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Academic Edition
 * Microsoft Visual C# .NET 2002 Standard Edition
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual C# .NET 2003 Standard Edition
 * Microsoft Visual J# .NET 2003 Standard Edition
 * Microsoft Visual J# .NET 2003 Standard Edition

-



SYMPTOMS
When you try to create either a new Visual C# .NET or Visual J# .NET application in Japanese Visual Studio .NET that is installed on a computer that is running an English verision of the Windows operating system, you may receive the following error message:

Invalid procedure call or argument



CAUSE
Visual Studio .NET still depends on the code page for languages other than English.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.\



WORKAROUND
Change the regional settings to Japanese instead of English. To change the regional settings on your computer that is running Windows 2000, follow these steps:
 * 1) Click Start, point to Settings, and then click Control Panel.
 * 2) In Control Panel, double-click Regional Options.
 * 3) In the Your locale (location) list, click Japanese.
 * 4) Under Language settings for the system, click to select the Japanese check box, and then click OK.

To change the regional settings on your computer that is running Windows XP, follow these steps:
 * 1) Click Start, and then click Control Panel.
 * 2) In Control Panel, click Date, Time, Language, and Regional Options.
 * 3) In the Date, Time, Language and Regional Options window, under Pick a task..., click Add other languages.
 * 4) In the Regional and Language Options dialog box, click the Advanced tab.
 * 5) Under Language for non-Unicode programs, click Japanese.

Keywords: kbbug kbide kbvs2002sp1sweep KB814913

-

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

© Microsoft Corporation. All rights reserved.