Results 1 to 7 of 7

Thread: Help with Visual Basic (A triangle face)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2013
    Posts
    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. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,988

    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.
    My usual boring signature: Nothing

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Help with Visual Basic (A triangle face)

    Quote Originally Posted by Shaggy Hiker View Post
    ...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. #4
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,988

    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.
    My usual boring signature: Nothing

  5. #5
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  6. #6
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,245

    Re: Help with Visual Basic (A triangle face)

    Name:  a.png
Views: 232
Size:  9.2 KB
    As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"

    Reviews: "dunfiddlin likes his DataTables" - jmcilhinney

    Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    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
  •  



Click Here to Expand Forum to Full Width