Visual Basic - Directorios y ficheros en un treeview o Listview

Life is soft - evento anual de software empresarial
 
Vista:

Directorios y ficheros en un treeview o Listview

Publicado por Maximiliano (20 intervenciones) el 21/08/2001 05:48:10
Hola
quisiera saber como se muestra los directorios y los ficheros en un treeview o listview
Gracias

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Directorios y ficheros en un treeview o Listvie

Publicado por Jesús (16 intervenciones) el 21/08/2001 17:18:16
Te envío algunas cosas parecidas, el formulario permitía seleccionar una ruta completa e incluso agregar directorios nuevos si te pierdes mucho mandamé un correo y te envío el formulario completo

Private Sub cmdNew_Click()
bName = InputBox("Write the name for the new Folder", " New Folder...")

If bName <> "" Then
MkDir Dir.Path + "\" + bName
Dir.Path = Dir.Path + "\" + bName
End If
End Sub

Private Sub cmdOK_Click()
If Dir.Path = strPath & "IIE" Or Dir.Path = strPath & "FAP" Or Dir.Path = strPath & "DAG" Or Dir.Path = strPath & "RGA" Or Dir.Path = strPath & "CONSUL" Then
MsgBox "You can not select this path. Please select a diferent one", vbCritical, "Path selection... "
Exit Sub
Else
frmMarcoPropu.txtBrowsePropu.Text = Dir.Path
End If

Unload Me
End Sub

Private Sub Dir_Change()
Me.Caption = Dir.Path
End Sub

Private Sub Drive_Change()
On Error GoTo archivoerror
Dir.Path = Drive.Drive
Dir.Refresh
Me.Caption = Dir.Path

archivoerror:
MsgBox "The unit is not available...", vbCritical, "Error..."
End Sub
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Directorios y ficheros en un treeview o Listvie

Publicado por Jorge (1 intervención) el 15/12/2001 14:09:51
Por favor no se si pudieras ayudarme con un trabajo de Visual Basic, necesito el codigo para realizar una aplicacion similar al Explorador de Windows
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar