How to Convert VB6 to VB 2010
The VB.NET 2010 Visual Studio application includes an upgrade wizard, so you can automatically convert Visual Basic 6 (VB6) code to VB.NET. The conversion tool updates functions, syntax and references to any DLL files. Most programmers review the code and edit some changes, but the conversion wizard marks each section change with comments, so you can review the conversion code.
Instructions
-
-
1
Click the Windows "Start" button and select "All Programs." Click "Microsoft .NET 2010," then click "Visual Studio 2010" to open the software.
-
2
Click the "File" menu item. Click "Open," and in the sub-menu of options, click "Convert." Double-click the VB6 project file in the dialog window to start the wizard.
-
-
3
Click "Visual Basic .NET Upgrade Wizard" in the list of options. Click "Next" in the first welcome window.
-
4
Select "EXE" from the file type window. If the VB6 project is a DLL, choose "DLL" instead and click "Next." The conversion window begins the upgrade.
-
5
Click "OK" in the confirmation window. You can review the code changes in the files after the conversion wizard runs. Click "Run" to execute the new code in the VB.NET debugger.
-
1