Hey everyone, can anyone help me out with a code that creates a program where a user can key in 3 coordinate points and when the click "Generate Triangle" button. the program automatically creates the program. Please help. Cheerz
Timziski
0
Newbie Poster
Recommended Answers
Jump to PostSimple
Try this
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim b As New Bitmap(600, 400) Dim g As Graphics = Graphics.FromImage(b) Dim x1, x2, x3, y1, y2, y3 As Integer Dim s1() As String = Me.TextBox1.Text.Split(",") Dim s2() As String …
Jump to Postx1 = Val(s1(0)) y1 = Val(s1(1)) x2 = Val(s2(0)) y2 = Val(s2(1)) x3 = Val(s3(0)) y3 = Val(s3(1))
now try this
All 5 Replies
kingsonprisonic
42
Posting Whiz in Training
Timziski
0
Newbie Poster
Timziski
0
Newbie Poster
Timziski
0
Newbie Poster
kingsonprisonic
42
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.