'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

  1. If performing file access, use Microsoft.VisualBasic.FileSystem.LineInput.

  2. If performing graphics, use System.Drawing.Graphics.Drawline.

See Also

Reference

System.IO

System.Drawing

Other Resources

File Access with Visual Basic