Hi fwh's,
to clean up the files from HTML code,
exists some function?
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.
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
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.
EnricoMaria wrote:Try this:
- Code: Select all Expand view RUN
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
EnricoMaria wrote:Try this:
- Code: Select all Expand view RUN
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
EMG
Ugo wrote:Hi fwh's,
to clean up the files from HTML code,
exists some function?
Ugo wrote:EnricoMaria wrote:A bug on Vista?
or IE7 Bug?
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 62 guests