elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Únete al Grupo Steam elhacker.NET


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  ListView item and Elapse time
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: ListView item and Elapse time  (Leído 2,467 veces)
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
ListView item and Elapse time
« en: 17 Febrero 2010, 23:42 pm »

Good  morning   
I have a listview in a form
Want to put in  listview  item  a counter and  count the  elapse time  .For example
when few data  arrive  in listview  then  start the  counter and  show me the  elapse time (12 sec)
thanks for the time   
have a good  time



En línea

seba123neo
Moderador
***
Desconectado Desconectado

Mensajes: 3.621



Ver Perfil WWW
Re: ListView item and Elapse time
« Respuesta #1 en: 19 Febrero 2010, 02:49 am »

Hi, ntaryl, you can use the api timeGetTime, for example:

Api TimeGetTime

or you can use the GetTickCount api that it also serves to count elapsed time of a process.

Greetings.

PD:si entendio esto me hago mago... :xD


En línea

ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Re: ListView item and Elapse time
« Respuesta #2 en: 19 Febrero 2010, 21:29 pm »

Thanks  man  for  the  answer   
I make a small  example  and  put  a listview .add a timer and  use the 
Código:
Format(TimeSerial(0, 0, CInt(Timer - mStart)), "hh:nn:ss")
Take the  elapse time   
the  problem  is when add a iten  in the listview  everything  go  fine 
the  second  and  the  other  not  run  show  me the  elapse  time  like  the  first item   
attach the  code   
http://www.2shared.com/file/11512560/ac129cba/test-proxy-list.html

En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Identificador para item de listview
ASM
.:UND3R:. 4 3,576 Último mensaje 18 Mayo 2013, 00:55 am
por .:UND3R:.
Cómo darle un identificador a un item (listview)
Programación General
.:UND3R:. 1 2,004 Último mensaje 18 Mayo 2013, 23:42 pm
por XresH
Buscar en un listview y resaltar item
.NET (C#, VB.NET, ASP)
nolasco281 7 11,598 Último mensaje 22 Mayo 2015, 08:06 am
por nolasco281
Seleccionar un Item de un Listview y darle click derecho
Programación Visual Basic
jack06 2 3,472 Último mensaje 12 Noviembre 2017, 19:45 pm
por okik
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines