Rochinha wrote:Amiguinho
É possivel sim:
- Code: Select all Expand view
cURLHtml := [http://www.wetter.com/home/extern/ex_search.php?ms=1&ss=1&sss=2&search=90562" target="_blank"><img src="http://www.wetter.com/home/woys/woys.php?,F,1,DEPLZ,90562" border="0" alt=""></a>]
DEFINE WINDOW oWnd TITLE "FiveWin ActiveX Support"
oActiveX = TActiveX():New( oWnd, "Shell.Explorer.2" )
oWnd:oClient = oActiveX
oActiveX:Do("Navigate2",cURLHtml)
ACTIVATE WINDOW oWnd
Example 1 does not function
IExporer Message "Action interrupted was able to produce Internet Explorer no connection to the requested web page. Possibly it is temporarily not available."
e )
- Code: Select all Expand view
cLink := [<a href="http://www.wetter.com/home/extern/ex_search.php?ms=1&ss=1&sss=2&search=90562" target="_blank"><img src="http://www.wetter.com/home/woys/woys.php?,F,1,DEPLZ,90562" border="0" alt=""></a>]
oActiveX = TActiveX():New( oDlg, "Shell.Explorer.2" )
oDlg:oClient = oActiveX
oActiveX:Do("Navigate2",cLink)
Example 2 works, but I would like to generate not each time a file.
e )
- Code: Select all Expand view
cLink := [<a href="http://www.wetter.com/home/extern/ex_search.php?ms=1&ss=1&sss=2&search=90562" target="_blank"><img src="http://www.wetter.com/home/woys/woys.php?,F,1,DEPLZ,90562" border="0" alt=""></a>]
memowrite("C:\alpha-VIS\TEMP\x.html",cLink)
oActiveX = TActiveX():New( oDlg, "Shell.Explorer" )
oDlg:oClient = oActiveX
cLinkFile := "file:///C:/alpha-vis/temp/x.html"
oActiveX:DO( "Navigate", cLinkFile)
any other ideas ?
Regards, Norbert