Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to make your own internet browser
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00012973
Message ID:
00012995
Views:
46
>>At the VFP DevCon some one showed an example that was using the Internet Explorer in your own form.
>>You could integrate the internet explorer in your own application.
>>Can some one give me some basic instructions about how this was done.

It was very simple

Create a form
Add an OLE container Control to the form
when ask to insert object you pick insert control
under control type add the one marked 'Microsoft Web Browser Control'
click OK
in the refresh method of the control add the following
'NODEFAULT'

run the form

If it is new save it as form1 somewhere so you can follow my syntax
once saved and it is running
it looks blank but you have to tell it where to go. try

form1.olecontrol1.navigate('http://microsoft.com')

After a short while the screen should have where you asked to go.

You can use the other properties of the container to move around
goback, goforward, gohome, etc..

Hope this helps

Bret
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform