Hello guys, im a newbie in vb programming. I just want to know how to compute total working hours. for EXAMPLE, i started 8:00 AM And goes out 13:00, the total time would be 4 hrs. because 12:00-1:30 is lunch break.
As a newbie, the first thing you should learn is how to use SEARCH. As Philippe pointed out, your question has been asked and answered several times. You would have found this out had you put in even a minimal effort to look instead of just asking someone else to do the work for you.
Thank u for your very interesting and a remarkable reply Reverend Jim. That helps much.
Being lazy is not a great way to get through life. Being lazy with attitude is even worse. You got a response with links to five different threads where your issue was addressed. The acceptable response would have been
check out the suggested threads
reply to this thread with a "thanks for the suggestions"
I, for one, am getting tired of people whose first reaction when they don't know something is to ask someone else to do the legwork for them. Simply going to google and entering the string "working with time in vb.net" gets a number of useful responses. But reading them and working through a few examples would involve effort on your part and I get the impression that "effort" is not "your thang".
Calling somebody lazy based on their post on some forum is just fuking funny man. Why so uptight ?? this is a discussion forum. All forums are based on asking questions. Philippe pointed out the threads that could help the man find his answer, but you are calling him lazy, please go back to being retired and leave us "LAZY" short-cutters alone. Asking people to do your work is a brilliant thing, it saves you time and money. We are building apps with the help of each other. Asking a question already means I couldn't find an answer by googling it (90% of the time) ... Get a life revrend.
Phillipe provided five links to articles on this forum which give the help that was asked for, something that the OP could and should have done before asking the question. The phrase asking someone else to do the work for you refers not only to us providing the code but doing the search. I just called it like I saw it. If you browse the answers I have given on this forum you will see that I have provided very lengthy and detailed information in many cases. This was on my own time and own my own dime.
As for the abusive language (which you probably had to enter with the deliberate mis-spelling to get around the language filter), all that did was earn you an infraction.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...