# Thread: Help with Visual Basic (A triangle face)

1. ## Help with Visual Basic (A triangle face)

Hello everyone i am really new at visual basic.In my school we are doing a project (windows form application)in which we have to find the face of a triangle.
Can anyone help me with the code.

2. ## Re: Help with Visual Basic (A triangle face)

You'd have to give a MUCH better description than that. For one thing, triangles don't really have faces, because they are two dimensional constructs. For another thing, finding a face is an inherently subjective/visual activity which is certainly not a simple task, so you were most definitely asked to do something a bit different from what you just described.

3. ## Re: Help with Visual Basic (A triangle face)

Originally Posted by Shaggy Hiker
...For one thing, triangles don't really have faces, because they are two dimensional constructs...
True...but not always... There are 3D triangles called tetrahedrons - those are 3D objects whose faces are composed of triangles.
Perhaps OP is looking for one of those? But I agree - more detailed description will definitely help.

4. ## Re: Help with Visual Basic (A triangle face)

I thought a tetrahedron was a tetrahedron, and a triangle was always a 2D construct with three sides. Even in graphics, in which I have barely dabbled, this seems to be a common convention.

5. ## Re: Help with Visual Basic (A triangle face)

perhaps "face" was the wrong word and the OP meant the "area" depending on the type of triangle it is, seems mostly simple to do...

-tg

7. ## Re: Help with Visual Basic (A triangle face)

See Area of a triangle and follow the link there to Area of a Triangle by formula (Coordinate Geometry).

If you can't turn this into code you might need some tutoring.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

Featured