I am doing a program using the line method for my VB class. The scale height and width are each set to 100. Then I am supposed to draw a line that goes from (0,100) up to (100,0), then down again to (175,100), back up to (187.5, 0), and so on. We are supposed to halve the remaining horizontal distance with each new line, until the distance on the right side is less than 0.25.

When I use these specifications, I only get one diagonal line on the screen. I don't understand how I can draw a line up to 175,100 and see it on the screen, if I have set the scale height and width to 100 each. Am I missing something? Is there a typo in my assignment from class? Is it supposed to be 75 instead of 100? I got a zigzag line when I changed it to 75.

Also, is the form actually set up like Cartesian x,y coordinates? Should I draw a graph on paper to get a better sense of this?

This is what I have for code so far, but little has happened:

Picture1.ScaleHeight = 100
Picture1.ScaleWidth = 100
Picture1.Line (0, 100)-(100, 0)
Picture1.Line (100, 0)-(175, 100)
Picture1.Line (175, 100)-(187.5, 0)