Fucking FAILURE! - Shad0w
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fucking FAILURE! - Shad0w
 
HomePortalLatest imagesRegisterLog in
Top posters
shad0w
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
rdwuestewald
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
Crush Combat
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
banksy
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
Kewley
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
Ashley
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
Anthony
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
Inix
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
mitch
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
dukemaster95
[VB6] Pythagorean Theorum [Code] I_vote_lcap[VB6] Pythagorean Theorum [Code] I_voting_bar[VB6] Pythagorean Theorum [Code] I_vote_rcap 
Who is online?
In total there are 36 users online :: 0 Registered, 0 Hidden and 36 Guests

None

Most users ever online was 189 on Mon Oct 21, 2024 3:57 am

 

 [VB6] Pythagorean Theorum [Code]

Go down 
AuthorMessage
shad0w




Number of posts : 173
Points : 238
Reputation : 0
Registration date : 2009-03-18
Location : 127.0.0.1

[VB6] Pythagorean Theorum [Code] Empty
PostSubject: [VB6] Pythagorean Theorum [Code]   [VB6] Pythagorean Theorum [Code] EmptyThu Mar 19, 2009 7:24 pm

Option Explicit

Private Sub cmdCalculateHypotenuse_Click()
Dim intSideA As Integer
Dim intSideB As Integer
Dim dblAnswer As double

intSideA = txtLength1.Text 'Gets user input

intSideB = txtLength2.Text 'Gets user input

dblAnswer = (intSideA ^ 2 + intSideB ^ 2) ^ 0.5

lblAnswer.Caption = dblAnswer
End Sub

Private Sub cmdDone_Click()
Unload Me
End Sub

Private Sub txtLength1_Change()
'clear the current answer when the user begins to type a new length
lblAnswer.Caption = ""
End Sub

Private Sub txtLength2_Change()
'clear the current answer when the user begins to type a new length
lblAnswer.Caption = ""
End Sub
Back to top Go down
 
[VB6] Pythagorean Theorum [Code]
Back to top 
Page 1 of 1
 Similar topics
-
» [C++] Hello World [Code/Tut]
» [VB6] Mail Bomber [Code]

Permissions in this forum:You cannot reply to topics in this forum
Fucking FAILURE! - Shad0w :: Shad0w's Computer Section :: Coding :: Visual Basic-
Jump to: