If you would like to make some extra cash for surfing the web, jump to http://www.codeoftheweek.com/paidsurf.html
In this issue we discuss how create your own custom web browser.
Using this form as a base you can expand it to include features such as history lists, custom bookmarks, limited intranet browser (restricts the user to certain sites) and more features that you wish Microsoft included in their browser interface, but did not. It can also be used to include a browser interface in your application for display reports, help screens and other formatted text.
If you have any questions about using this module, let us know at email@example.com
This form module encapsulates the web browsing feature of Internet Explorer in about 20-30 lines of source code. This is one of the best examples of the power of component programming. It uses the Microsoft Internet Controls which creates a WebBrowser object in your Visual Basic environment. You can get complete details of the WebBrowser object model at http://msdn.microsoft.com/workshop/browser/webbrowser/reference/objects/WebBrowser.asp
You can download the complete project from http://www.codeoftheweek.com/membersonly/bi/Browser.zip
Private Sub cmdGo_Click()
This method is where everything starts. cmdGo_Click calls the Navigate method of the WebBrowser control. This starts the process of downloading the appropriate files to display the pages in the browser window.
See below Source Code.
No sample code in this issue. See below for details.
To see the source code for this issue you must be a subscriber to Code of the Week. If you are a subscriber the source code is available at the following address: http://www.codeoftheweek.com/membersonly/bi/0117.html
If you would like to get paid for surfing the web, jump to http://www.codeoftheweek.com/paidsurf.html