Microsoft KB Archive/915917

= BUG: The Visual Basic Upgrade Wizard stops responding when you try to upgrade a Visual Basic 6.0 project in Visual Basic 2005 =

Article ID: 915917

Article Last Modified on 12/6/2006

-

APPLIES TO


 * Microsoft Visual Basic 2005
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Professional Edition

-





SYMPTOMS
Consider the following scenario. A Microsoft Visual Basic 6.0 project contains at least one code module that has nine or more Case Is statements. You try to upgrade the Visual Basic 6.0 project by using the Visual Basic Upgrade Wizard in Microsoft Visual Basic 2005. In this scenario, the Visual Basic Upgrade Wizard stops responding (hangs).



WORKAROUND
To work around this problem, follow these steps:
 * 1) Open the Visual Basic 6.0 project in Microsoft Visual Studio 6.0.
 * 2) Comment out any Case Is statements.
 * 3) Save the code module.
 * 4) Start Visual Basic 2005.
 * 5) On the File menu, click Open Project.
 * 6) In the Open Project dialog box, locate the Visual Basic 6.0 project folder, click the project file name, and then click Open. The Visual Basic Upgrade Wizard starts.
 * 7) Click Next.
 * 8) Under Choose a Project Type, click EXE or DLL, and then click Next.
 * 9) Type a location for the project, and then click Next.
 * 10) If the folder does not exist, click Yes to create the folder.
 * 11) Click Next to start the upgrade.
 * 12) After the upgrade is complete, remove the comments from the Case Is statements.



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

Keywords: kbvbx kbdev kbupgrade kbprb kbtshoot kbbug KB915917

-

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

© Microsoft Corporation. All rights reserved.