Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/02/2004, 04:25
Avatar de pabli
pabli
 
Fecha de Ingreso: octubre-2003
Mensajes: 381
Antigüedad: 21 años, 6 meses
Puntos: 0
Código:
Private Sub DirListBox1_Change()
    Dim S_string As String
    
    List1.Clear
    S_string = Dir(DirListBox1.Path, vbNormal)   ' Recupera la primera entrada.
    Do While S_string <> ""   ' Inicia el bucle.
        List1.AddItem S_string
        S_string = Dir   ' Obtiene siguiente entrada.
    Loop

End Sub