|
|
|
|
|
These samples have been built for the release Webster Pro S-Type control, but they can easily be converted for use with a D-Type control or a demo control by following the steps for switching controls in an application.
|
|
Authentic1 demonstrates a simple technique for detecting
an HTTP Basic Authentication failure. It displays a name/password pop-up dialog instead
of the built-in status page normally displayed by the control.
Click here to download Authentic1.zip (about 8KB).
|
|
|
Direct1 demonstrates how to directly input HTML into
a page in the control. This input can be used to create new pages or to modify the
content of an existing page.
Click here to download Direct1.zip (about 3KB).
|
|
|
Extract11 automatically extracts HTML
content using the GetContent method, and extracts pure text using
the GetText method or via the clipboard.
Click here to download Extract1.zip (about 7KB).
|
|
|
FontSize implements "Increase Font Size" and "Decrease Font
Size" buttons.
Click here to download FontSize.zip (about 6KB).
|
|
|
FormString1 uses the GetFormCount method to return
the number of HTML FORMs on a page, and the GetFormString method to retrieve
the value of a FORM response string.
Click here to download FormString1.zip (about 8KB).
|
|
|
Frame1 demonstrates programmatic sub-Frame navigation in a FrameSet.
It implements two techniques (specifying the named target and specifying the
actual ObjectHandle) for using the Navigate method to replace a sub-Frame page
in a FrameSet.
Click here to download Frame1.zip (about 8KB).
|
|
|
HTTPheader1 demonstrates how to extract
HTTP status codes from the HTTP header string returned by the
GetHTTPHeader method.
Click here to download HTTPheader1.zip (about 7KB).
|
|
|
Link3 demonstrates how to access the sub-Frame pages of
a FrameSet as well as how to retrieve all hyperlinks from these
sub-Frame pages (or from any page, for that matter).
Click here to download link3.zip (about 3KB).
|
|
|
Object1 utilizes the GetObjectAtXY method to display the URL
of an embedded image when the mouse cursor hovers aboves the image. It also shows how to extract
a list of embedded images from an HTML page.
Click here to download Object1.zip (about 6KB).
|
|
|
Printer1 shows how to print headers and footers
using the Paginate2, PrintToDC and EndPrint methods.
Click here to download Printer1.zip (about 8KB).
Contributed by Brett Emery.
|
|
|
Random Walk is a simple Web Browser application written in Visual Basic.
It implements a walk-the-Web feature which collects the hyperlinks from
each visited page and visits pages from that list at random.
Click here to download walk1.zip (about 3KB).
|
|
|
The Sagan Web Browser is the testbed and
demonstration program included in the 32-bit Webster Pro S-Type Demo Package.
Click here to download sagan3101.zip
(about 120KB), which contains the complete VC++ source code for Sagan
V3.1. It can be built under VC++ 4.2, 5.0 or 6.0.
Includes Find In Files, a local HTML search feature,
and a new Cookie Viewer option.
|
|
|
The Darwin Pro Web Browser is the testbed and
demonstration program included in the 32-bit Webster Pro D-Type Demo Package.
Click here to download darwin3101.zip
(about 130KB), which contains the complete VC++ source code for Darwin
Pro V3.1. It can be built under VC++ 4.2, 5.0 or 6.0.
Includes Find In Files, a local HTML search feature,
and a new Cookie Viewer option.
|
|
|
The BatchPrint application is a tiny VC++ 5.0/MFC sample
which demonstrates the printing of a batch of URLs with the Webster Pro.
Click here to download BatchPrint1100.zip
(30KB).
|
|
|
The Vogon Poetry Pro Web Browser is the testbed and demonstration program
included in the 16-bit Webster Pro Demo Package.
Click here to download vogon16p.zip
(about 90KB), which contains the complete C++/MFC source code for version 2.9 of the
third worst browser in the universe (Professional Edition). Vogon Poetry can be
rebuilt under MSVC++ 1.52c.
|
| Copyright © Home Page Software Inc. | query@homepagesw.com |