Visual Basic - Como BUSCAR un Archivo

Life is soft - evento anual de software empresarial
 
Vista:

Como BUSCAR un Archivo

Publicado por Eduardo Yuptón C (96 intervenciones) el 04/08/2005 01:45:00
HOLA AMIGOS, CREO QUE ES FACIL PERO NO DOY CON EL PROGRAMA:

NECESITO UN PROGRAMA PARA SABER SI UN ARCHIVO EXISTE EN DETERMINADA CARPETA DEL DISCO DURO.

ES DECIR QUE ME PERMITA BUSCAR UN ARCHIVO Y QUE ME DIGA SI LO ENCONTRO O NO LO ENCONTRÓ, EN UN MSGBOX.

MUCHAS GRACIAS Y QUE DIOS LOS BENDIGA
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:Como BUSCAR un Archivo

Publicado por Cecilia Colalongo (3116 intervenciones) el 04/08/2005 01:59:26
Para verificar la existencia de un archivo puedes utilizar la función Dir o el método FileExists del objeto FileSystem.

En:

http://msdn.microsoft.com/library/en-us/vbenlr98/html/vafctDir.asp

http://msdn.microsoft.com/library/en-us/vbenlr98/html/vamthfileexists.asp

tienes la documentación de ambos.
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