........ DEMANDAS ........ | |
........ ALQUILERES ........ | |
........ PISOS, APTOS Y ESTUDIOS ........ | |
........ CASAS, ADOSADOS Y SOLARES ........ | |
........ L. COMERCIALES, NAVES INDUSTRIALES ........ | |
........ FINCAS RUSTICAS Y CASAS DE CAMPO ........ | |
| |
.......... V A C A C I O N E S .......... |
| |
|
| <%on error resume next' Creamos el objetoset fso = createobject("scripting.filesystemobject")' Seteamos el archivo txtset act = fso.opentextfile(server.mappath("../Data/mercado.txt"))' Leemos el valor del archivocounter8 = clng(act.readline)' Sumamos uno a ese valorcounter8 = counter8 + 1' Cerramos el objetoact.close' Creamos un nuevo archivo de textoSet act = fso.CreateTextFile(server.mappath("../Data/mercado.txt"), true) ' Escribimos el nuevo valor del contadoract.WriteLine(counter8)' Cerramos el objetoact.Close%> |