What are the main differences in Visual Basic 6.0 and Visual Basic.NET on how graphic operations are performed?
There are several changes to how drawing operations are performed in Visual Basic .NET. For example: 1. Removal of the Line Control in Visual Basic .NET The Line control in Visual Basic 6.0 allows you to draw a line segment on a form. It has no equivalent control in Visual Basic .NET. When the upgrade wizard is applied, vertical and horizontal Line controls are replaced with the Windows Forms Label control, with the Text property set to an empty string, the BorderStyle property set to None, and the BackColor, Width, and Height properties set to match the original control. Line controls that are not vertical or horizontal are not upgraded; the upgrade wizard replaces such lines with a Label control, with the BackColor property set to Red to highlight the issue. Line controls can be replaced with lines drawn in the Paint event using graphics functions available in Visual Basic .NET. 2. Removal of the Shape Control in Visual Basic .NET The Shape control in Visual Basic 6.0 has no equivale