So, I don't have much, but I do have some. Behold my genius code for my hours calculation: Private Sub btnCalculate_Click(sender As Object, e As EventArgs) Handles btnCalculate.Click Dim s1 As Integer Dim s2 As Integer Dim s3 As Integer Dim s4 As Integer s1 = Val(txtTimeInSunday.Text) s2 = Val(txtTimeOutLunchSunday.Text) s3 = Val(txtTimeInLunchSunday.Text) s4 = Val(txtTimeOutSunday.Text) lblSundayHoursTotal.Text = s4 - s1 - (s3 - s2) Dim m1 As Integer Dim m2 As Integer Dim m3 As Integer Dim m4 As Integer s1 = Val(txtTimeInMonday.Text) s2 = Val(txtTimeOutLunchMonday.Text) s3 = Val(txtTimeInLunchMonday.Text) s4 = Val(txtTimeOutMonday.Text) lblMondayHoursTotal.Text = m4 - m1 - (m3 - m2) Dim t1 As Integer Dim t2 As Integer Dim t3 As Integer Dim t4 As Integer s1 = Val(txtTime
I recently changed careers from customer service to the IT department. It's always been my dream to write computer programs and code, but I've just never taken the plunge until now. So, this blog chronicles the resources and experiences I use to hopefully become a programmer/developer.