>DateTimes have a 1-tick granularity, so they are good for timing stuff. The only thing that could negatively affect a simple DateTime based timer is that its thread may get interrupted between the last statement inside the timing block and the call to DateTime.Now.
>
>If you really want a hardcore timer, you'd have to enclose the entire batch in a synclock.
I used something like this and it works well:
Framework.App.nDateNow = Date.Now.Ticks
Dim lnDateNow As Double = Date.Now.Ticks
Dim lnElapse As Double
lnElapse = ((lnDateNow - Framework.App.nDateNow) / 10000000)