Hello guys,

I want to make quite a simple program where I want to put an angle (from 0-90 degrees) into a box and then click a button.

When that button is clicked the angle of an inclined planes changes accordingly.

I.e. I want a line to move up by a certain angle

if you look at this picture:

http://www.engineeringtoolbox.com/do...ined-plane.png

You can see what I mean better.

I simply want the angle of that line to change as I change the angle in the textbox.

I have tried to do this using the visual basic power packs to draw the line, and then I tried to figure out how to make the that line move as I change the angle.

I keep changing the y2 co-ordinate and it the stretches upwards as I decrease the values which of course is not good....

any idea's?