Problema documentos externos de texto ayudaaaaaaaa
Publicado por Cristian ayudameeeeeeeeeeeeeee (22 intervenciones) el 05/03/2002 17:00:11
Con el codigo que alguien me paso en este foro ya me sale lo de cargar y guardar muy bien pero como hago que para utilizar esto? me refiero a k valor, o k cosa identifica la primera linea el codigo es:
'Grabar txt
Open "C:\archivo.txt" For Output As #1
Print #1, "a"
Print #1, "b"
Print #1, "c"
Close #1
'Leer txt
Open "C:\archivo.txt" For Input As #1
Do Until EOF(1)
Line Input #1, LineaLeida 'lee 1 linea del txt
Loop
Close #1
LO K KIERO SABER ES COMO HACER K POR EJEMPLO TEXT1= A LA LINEA 1, Y DESPUES GUARDE TEXT1 COMO LINEA 1. MUCHAS GRACIAS
'Grabar txt
Open "C:\archivo.txt" For Output As #1
Print #1, "a"
Print #1, "b"
Print #1, "c"
Close #1
'Leer txt
Open "C:\archivo.txt" For Input As #1
Do Until EOF(1)
Line Input #1, LineaLeida 'lee 1 linea del txt
Loop
Close #1
LO K KIERO SABER ES COMO HACER K POR EJEMPLO TEXT1= A LA LINEA 1, Y DESPUES GUARDE TEXT1 COMO LINEA 1. MUCHAS GRACIAS
Valora esta pregunta


0