To clean up the files from HTML code
Posted: Tue Feb 13, 2007 2:43 pm
Hi fwh's,
to clean up the files from HTML code,
exists some function?
to clean up the files from HTML code,
exists some function?
www.FiveTechSoft.com
https://fivetechsoft.com/forums/
Rochinha,Rochinha wrote:Friend
I recomend to you ASP. Use the FSO object to manipulate files on server.
Here some examples with this functions:
Web Explorer
FileMan. The best.
Code: Select all
FUNCTION MAIN()
LOCAL oExplorer := CREATEOBJECT( "InternetExplorer.Application" )
oExplorer:Navigate2( "www.emagsoftware.it/gratis.htm" )
WHILE oExplorer:ReadyState <> 4
HB_IDLESLEEP( 1 )
ENDDO
? oExplorer:Document:Body:InnerText
oExplorer:Quit()
INKEY( 0 )
RETURN NIL
Dear James,James Bott wrote:Ugo,
Perhaps you can use IE and OLE.
http://msdn.microsoft.com/library/defau ... plorer.asp
There is a command to "selectall" and another for "removeformat." So, you could open IE and load the HTML file, then use these commands, then copy to the clipboard, then paste from the clipboard (using FWH) and save to a file.
Enrico,EnricoMaria wrote:Try this:
Code: Select all
FUNCTION MAIN() LOCAL oExplorer := CREATEOBJECT( "InternetExplorer.Application" ) oExplorer:Navigate2( "www.emagsoftware.it/gratis.htm" ) WHILE oExplorer:ReadyState <> 4 HB_IDLESLEEP( 1 ) ENDDO ? oExplorer:Document:Body:InnerText oExplorer:Quit() INKEY( 0 ) RETURN NIL
Dear Enrico,EnricoMaria wrote:Try this:
EMGCode: Select all
FUNCTION MAIN() LOCAL oExplorer := CREATEOBJECT( "InternetExplorer.Application" ) oExplorer:Navigate2( "www.emagsoftware.it/gratis.htm" ) WHILE oExplorer:ReadyState <> 4 HB_IDLESLEEP( 1 ) ENDDO ? oExplorer:Document:Body:InnerText oExplorer:Quit() INKEY( 0 ) RETURN NIL
look at this tool:Ugo wrote:Hi fwh's,
to clean up the files from HTML code,
exists some function?
or IE7 Bug?EnricoMaria wrote:A bug on Vista?
Otto,Otto wrote:Have you tried to run the program as Administrator?
Norbert,
Doesn't seem so. I'm also using IE7 (Windows XP) and not having that problem.Ugo wrote:or IE7 Bug?EnricoMaria wrote:A bug on Vista?