This project has been a particular pain to me, I have asked a question here at EE in the past
using VB6 and got some resovlve, but I think it could go better.... my points offering should reflect this
now using VB.NET 2003
' my project is an environment simulator...which "controls" the amount of daylight in an environment
' what I want is for the user to be able to define "daystart" time and "nightstart" times
' as regular AM/PM values....... ie. daystart time = 8:35 AM nightstart = 10:17 PM into textboxes
' or DomainUpDownCOntrols.
' then based on those values, determine the length of "daytime" and "nighttime"
' daytime = time from daystart to nightstart
' nighttime = time from nightstart to daystart
' nighttime + daytime should equal 24 hours
' my goal is to then express this as a ratio, i.e 12/12, 18/6, 23/1 etc.
' and also preferably as 5.43/18.57 representing hours/minutes of the day/night ratio
' ( I do not care about seconds )
' after I have this part working I will set some boolean vars that specify
'If "Day" = "True" Then Night = "False"