FoxPro/Visual FoxPro - Archivos HTML

 
Vista:

Archivos HTML

Publicado por xx (378 intervenciones) el 03/10/2011 18:34:37
Todo depende de que quieras hacer, estas podrian ser algunas:

1)
_han=FCREATE( [ARCHIV.HTML], 0)
IF FERROR()!=0 OR _han==-1
MESSAGEBOX( [NO SE PUDO CREAR], 16, [ERROR] )
RETURN
ENDIF
FPUST( _han, [<html>] )
* otros fputs con por ejemplo
*...detalle de head
*...body y/o form
FPUTS( _han, [</html>] )
FCLOSE( _han )

2)
_str=[<html>...</html>]
STRTOFILE( _str, [ARCHIV.HTML])

Hay otras funciones que te convierten una tabla a html si mal no recuero, busca en la ayuda

Saludos
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