aedwall Active Member Licensed User Longtime User Jan 28, 2012 #1 If have this code -- the td.* are strings from the time dialog control: Dim tod, mn As Float Dim hr As Short hr = td.Hour; mn = td.Minute; tod = mn / 60; tod = tod + hr; Why does this error appear? Error description: Input string was not in a correct format. tod = mn / 60; Thank you. I cannot use ';' at the end of each line (I am too used to PHP, I guess). Last edited: Jan 28, 2012
If have this code -- the td.* are strings from the time dialog control: Dim tod, mn As Float Dim hr As Short hr = td.Hour; mn = td.Minute; tod = mn / 60; tod = tod + hr; Why does this error appear? Error description: Input string was not in a correct format. tod = mn / 60; Thank you. I cannot use ';' at the end of each line (I am too used to PHP, I guess).