Coder's Guild Mailing List

VB question

Posted by Jeffrey Woessner on 2000-06-22

What I'm trying to do is this, I'm making an application that will let you 
choose the day of the week with option buttons, from there I have a Combobox 
for eacho ftheses (in hour, in minute, out hour, out minute) then i have a 
command button to set theses times which then displays these times in labels 
for which ever day that was chosen. Now what I want it to do is figure how 
many hours were worked (this is where I'm having problems) I tried setting 
variable sunin = label17.caption then sunout = label18.caption for 
label19.caption I want it to display the amount of hours and minutes worked 
that day. I have set the varibles in date format and when i hit calculate it 
I get an error. Any help or suggestions on how to do this would be greatly 
appreciated.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com