![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/04/2003, 19:09
|
![Avatar de ElAprendiz](http://static.forosdelweb.com/customavatars/avatar15734_1.gif) | | | Fecha de Ingreso: enero-2002 Ubicación: Maipu, Chile
Mensajes: 3.706
Antigüedad: 22 años, 4 meses Puntos: 2 | |
Function LeerArchivoEntero(nombreArchivo)
Const ComoLectura = 1
Dim fso, elArchivo, retstring
Set fso = CreateObject("Scripting.FileSystemObject")
Set elArchivo = fso.OpenTextFile(nombreArchivo, ComoLectura, False)
Do While elArchivo.AtEndOfStream <> True
retstring = elArchivo.ReadLine
Loop
elArchivo.Close
LeerArchivoEntero = retstring
End Function |