|
Embed WOW
controls in your Application
The EzStor file you created in step
2 can actually be run right inside Internet Explorer*.
To run a file from an EzStor file inside IE, just type
this in the address bar of IE:
x-hsp://c:/myfolder/sample.hsp/cust_table.asp
|
Here's a screenshot of the real
thing:

This is a URL. Instead of
http: we specify the HSP protocol x-hsp:, followed by the
EzStor filename, then the internal filename. IE will
invoke the HSP protocol handler (hsppp.dll) to retrieve
the resource, which in this case is an ASP file. HSP
will run the script code and return the results, just as
server-side ASP would do.
But this sample is meant to run in
an embedded webbrowser (WOW) control, so that is where we
will run it. Create a VB project and add the EzTools
Library in the Components dialog, as shown here.

Select the WOW control on the
toolbar.

Now create a WOW control on your
form as shown below. You can set the border color
and style to match the motif of your form. Notice
that we are mixing VB and other ActiveX controls on the
form with the WOW control. You could easily make the
WOW control blend in with the form by removing the border
and setting the background color of the webpage to be the
same as the form.

Next we will set the page to be loaded so it will run when
the program is loaded.
<< Back
Next >>
|