Discussion:
VFP & Web Browser
(too old to reply)
D***@gmail.com
2005-11-21 11:38:29 UTC
Permalink
Hello,

I have this code in program.prg:

sside = 'http://localhost/~matrix/'

IE = CreateObject("InternetExplorer.Application")
IE.Visible=.t.

And I don't know, how should I do, when I want open my IE on (sside) on
default.
Could you help me with that?

Regards,
Dawid
Jan Bucek
2005-11-21 13:12:30 UTC
Permalink
WITH IE
.Navigate(sside)
DO WHILE (.Busy() .or. (.ReadyState <> 4))
DOEVENTS
ENDDO
ENDWITH
Post by D***@gmail.com
Hello,
sside = 'http://localhost/~matrix/'
IE = CreateObject("InternetExplorer.Application")
IE.Visible=.t.
And I don't know, how should I do, when I want open my IE on (sside) on
default.
Could you help me with that?
Regards,
Dawid
Cindy Winegarden
2005-11-21 18:35:26 UTC
Permalink
Hi Dawid,

Try IE.Navigate(sside). I'd navigate to the page before you make IE visible.
--
Cindy Winegarden Microsoft Visual FoxPro MVP
Post by D***@gmail.com
Hello,
sside = 'http://localhost/~matrix/'
IE = CreateObject("InternetExplorer.Application")
IE.Visible=.t.
And I don't know, how should I do, when I want open my IE on (sside) on
default.
Could you help me with that?
Regards,
Dawid
Loading...