Why can't you use the "Line" method in VB? Is there a reason you need to roll your own line algorithm? Mike > -----Original Message----- > From: Andrew Seddon [SMTP:seddona@HOTMAIL.COM] > Sent: Monday, April 03, 2000 1:29 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [OT]: Drawing diagonal lines > > Hi. > > What I need to do is draw a line from one point on the screen to another. > Chances are it will be diagonal, eg. (10,20) to (100,100). Now this would > be > easy if it wasn`t for the fact that the line will have 832 pixels in it > that > need plotting along the line. > > I am using VB and any help would really be appreciated. > > Thanks in advance.