This code works fine when compiled with clipper and fivewin but
with xharbour and fivewin, the program stop .
procedure TIE()
local he
he:=createoleobject("InternetExplorer.Application")
OleSetProperty(he,"Visible",.T.)
*OleSetProperty(he,"Toolbar",.F.)
*OleSetProperty(he,"Statusbar",.F.)
*OleSetProperty(he,"MenuBar",.F.)
OleInvoke(he,"Navigate","http://www.lesoir.be")
sysrefresh()
return
Thanks for some info
Philippe Jacquet
Ole with IE and xharbour
-
- Posts: 22
- Joined: Fri Nov 04, 2005 9:05 pm
- Location: LIEGE Belgium
- Manuel Valdenebro
- Posts: 706
- Joined: Thu Oct 06, 2005 9:57 pm
- Location: Málaga-España
You can checking this:
local cLink := "http://www.lesoir.be"
SHELLEXECUTE (GetActiveWindow(), nil, cLink, '', '', 5)
local cLink := "http://www.lesoir.be"
SHELLEXECUTE (GetActiveWindow(), nil, cLink, '', '', 5)
Un saludo
Manuel
Manuel
Go the OLE Automation way:
Code: Select all
procedure TIE()
local he
he:= TOleAuto():New("InternetExplorer.Application")
he:Visible := .T.
he:Toolbar := .F.
he:Statusbar :=.F.
he:MenuBar := .F.
he:Navigate("http://www.lesoir.be")
sysrefresh()
return
Saludos
R.F.
R.F.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Jacquet,
Try this:
and tell us what value you get.
Try this:
Code: Select all
he:=createoleobject("InternetExplorer.Application")
MsgInfo( he )