Click to See Complete Forum and Search --> : microsoft web browser control


j_h_ramesh
May 27th, 1999, 08:34 AM
hi ,

does anyone know how to use microsoft web browser control ? any suggested links are there for using it ?

ramesh.

Dave Lorde
May 27th, 1999, 09:15 AM
There are a number of ways of using it, depending on your project type and requirements.

For an ordinary MFC Doc/View application:
from the menu, select 'Project' / 'Add To Project' / 'Components and Controls', find the Microsoft WebBrowser control, and Insert it. The Class Wizard will create a wrapper class for you in a new header and source file. Use this class in your view just like any other control (construct an instance, call Create() on it, then use its methods - Navigate() is the main one).

In an ATL project it's similar, but you select 'Insert' / 'New ATL Object'.

Dave

ramanan
May 27th, 1999, 10:30 AM
There is a good article for this in msdn the article title is

Boning Up on the Internet Client SDK Part I: Web Browsing Objects

Hope you find this useful.

Regs,
Ramanan