'Line' statements are no longer supported (Visual Basic Compiler Error)
Line statements are no longer supported. File I/O functionality is available as Microsoft.VisualBasic.FileSystem.LineInput and graphics functionality is available as System.Drawing.Graphics.DrawLine.
Error ID: BC30830
To correct this error
If performing file access, use Microsoft.VisualBasic.FileSystem.LineInput.
If performing graphics, use System.Drawing.Graphics.Drawline.