1. Create a new project (I call mine websample)
2. Go to the 'Classes' tab and add the following VCX file:
_webview.vcx
* mine is in the Gallery directory
* c:\program files\microsoft visual foxpro8\gallary
3. Create and add new Form.
4. Drag and drop, from the Classes Tab (webview.vcx) the control named: webbrowser4
5. Size it to take most of the form.
6. Add a command button
7. Add the following code in the click event:
LOCAL lcURL
lcURL = [http://www.microsoft.com]
THISFORM._webbrowser41.Navigate[&lcURL])
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.