Re: VB6 LISTBOX problem

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Ivar" <ivar.ekstromer000@xxxxxxxxxxxx> wrote in message news:wEsSi.15502$8c4.425@xxxxxxxxxxxxxxxxxxxxxxx

Have a look at the code below, can you do a sort
that is faster than this code can do?

By the way Ivar, the GetTickCount API does not have a resolution any better than the VB Timer function or most of the standard Windows timing functions (a best resolution of about 10 to15 milliseconds on most XP and Vista systems). If you want a higher resolution then you should either use the QueryPerformance stuff or the timeGetTime function, after setting the "best resolution" to 1 millisecond (or whatever you desire) using timeBeginPeriod.

Mike


.