M
Miro
Using VB.net vs2008
Looking at the two lines below, why does the first line not work, and the
other does.
No compile error, the debug "diffDate" has a value. Lets say (10
seconds)...
but the .add does not seem to add the timespan into the countdatetimeto
..Add( Paramter is a requried timespan value )
Dim diffDate As TimeSpan = PausedEndDateTime -
PausedStartDateTime
Dim origdatetimeto = CountDateTimeTo 'For debugging
purposes quicktest
'CountDateTimeTo.Add(diffDate) ***** this does not work
CountDateTimeTo = CountDateTimeTo + diffDate ***** this
does
Thanks,
Miro
Looking at the two lines below, why does the first line not work, and the
other does.
No compile error, the debug "diffDate" has a value. Lets say (10
seconds)...
but the .add does not seem to add the timespan into the countdatetimeto
..Add( Paramter is a requried timespan value )
Dim diffDate As TimeSpan = PausedEndDateTime -
PausedStartDateTime
Dim origdatetimeto = CountDateTimeTo 'For debugging
purposes quicktest
'CountDateTimeTo.Add(diffDate) ***** this does not work
CountDateTimeTo = CountDateTimeTo + diffDate ***** this
does
Thanks,
Miro