Microsoft Office Tutorials and References
In Depth Information
Creating web browser controls
Creating web browser controls
A web browser control enables you to embed a frame that can
work as a web browser inside your form (although without all
the features normally found in a web browser). If you have the
Control Wizards activated in the Controls toolbox, you can use
the Insert Hyperlink popup window to display the results of a
fixed webpage on your form. (You can change this later by
clicking the build button for the control’s Control Source property.)
The Control Source property for the web browser control can
also be set to a hyperlink field in a database table—for example,
a customer’s home page. Then, when you display the customer
record, the home page will be displayed in the web browser
control.
Create a web browser control
1 On the Form Design Tools ribbon, click the Design tab.
2 In the Tools section, click Property Sheet.
3 Click the web browser control button.
4 Position the control on the form.
5 Click Cancel on the Insert Hyperlink popup window (if you have
the Use Control Wizards selected for your controls). Set the Control
Source property for the web browser control to a hyperlink field in
your database table.
3
1
4
2
5
TIP If you add a text box to your form named txtURL and
then set the web browser control’s Control Source property to
=txtURL, you can type a URL into the text box and have the results
automatically displayed in the web browser control.
Search JabSto ::




Custom Search