Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Browser window within a VFP Form

Status
Not open for further replies.

jw1234

Technical User
Oct 3, 2010
10
GB
thread184-1296910

I'm writing a little tool that I can use for the feedback of Fleabay.

I was wondering how do you open an IE window from within a form OR design a VFP form where part of the for is an IE of Firefox window.


Thanks
John
 
John,

You need to use the Microsoft Web Browser control, which is an ActiveX control that comes with Windows.

1. Drop an OLE Container object on the form.

2. Fron the Insert Object dialogue, choose Microsoft WebBrowser control.

3. To have the control display a particular web page, call its Navigate2 method, passing the URL or the fully-qualified path name of the HTML file as a parameter.

For more information, search the Microsoft site for documentation on the control.

Mike



__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top