O'Reilly logo

MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET by MCSD Amit Kalani - MCAD

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Apply Your Knowledge

Exercises

9.1. Embedding a Web Browser Control

One ActiveX control that you might find useful on Windows forms is the WebBrowser control, which uses the Internet Explorer rendering engine to display Web pages. In this exercise, you'll see how you can embed this control in a Windows form.

Estimated time: 15 minutes

1.
Open a Visual C# .NET Windows application in the Visual Studio .NET IDE.
2.
Right-click on the toolbox and select Customize Toolbox.
3.
Select the COM Components tab in the Customize Toolbox dialog box.
4.
Scroll down the list of components, which should include all the ActiveX controls that are registered on your computer, until you find the Microsoft Web Browser control. Click the check box for the control and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required