How to Convert From VB6

VB.NET has several libraries included by the latest Microsoft VB upgrade. The Visual Studio software in which VB.NET is created includes a conversion wizard, so you can convert older VB code to VB.NET. The tool converts the old VB library references to the VB.NET libraries and changes older VB syntax to newer standards. When you open a VB6 project in Visual Studio, the software detects the old code and prompts you to convert the program.

Instructions

    • 1

      Click the Windows "Start" button and select "All Programs." Select "Microsoft .NET," then choose "Visual Studio."

    • 2

      Click the Visual Studio "File" menu item and select "Open Project." Double-click your VB6 project file. When you open the project, Visual Studio opens a wizard window that tells you the code is old and that you must convert to the latest libraries to edit the code.

    • 3

      Click "Next." It takes several minutes for the project files to convert. The amount of time depends on the size of the project. After the conversion completes, click "Finish."

    • 4

      Review the list of changes in the displayed report. Any errors or problems during conversion are shown. You must go through each of these items and check the VB code for syntax errors and logic accuracy.

Related Searches:

References

Comments

Related Ads

Featured