To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Article :: Building Dynamic Systems with Expressions in .NET
How Is XML Like An Interface?
Understanding Covariance and Contravariance
Print VS 2010 Keyboard Shortcut References in Letter (8.5x11in) and A4 (210×297mm) Sizes
Updated Productivity Power Tools



Go Back   VBForums > Visual Basic > Visual Basic .NET

Reply Post New Thread
 
Thread Tools Display Modes
Old Mar 11th, 2010, 12:19 PM   #1
fouadalnoor
New Member
 
Join Date: Jan 10
Posts: 6
fouadalnoor is an unknown quantity at this point (<10)
Simple noob problem-need help from you!!

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?
fouadalnoor is offline   Reply With Quote
Old Mar 11th, 2010, 03:07 PM   #2
Vectris
Fanatic Member
 
Vectris's Avatar
 
Join Date: Dec 08
Location: USA
Posts: 933
Vectris has a spectacular aura about (100+)Vectris has a spectacular aura about (100+)
Re: Simple noob problem-need help from you!!

So what's the problem with changing the y2 coordinate. All you said was that decreasing it makes the line go up "which isn't good". What isn't good is the description of your problem. Maybe you want to make the line go down? Well have you tried increasing y2?
__________________
If your problem is solved, click the Thread Tools button at the top and mark your topic as Resolved!

If someone helped you out, click the button on their post and leave them a comment to let them know they did a good job

__________________
My Vb.Net CodeBank Submissions:
Microsoft Calculator Clone
Custom TextBox Restrictions
Get the Text inbetween HTML Tags (or two words)
Vectris is offline   Reply With Quote
Reply

Tags
graphics, noob

Go Back   VBForums > Visual Basic > Visual Basic .NET


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:12 PM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.