Using the WebBrowser Control

bluejackal
bluejackal used Ask the Experts™
on
How can i create the "WebBrowser Control" in my MFC SDI/MDI Application?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If you have not been using the WebBrowser control, you can find it in Visual Studio by choosing the menu items Project | Add To Project | Components and Controls.... Open the "Registered ActiveX Controls" folder. To insert the control to your project, double click "Microsoft Web Browser".So in your VC++, you can do it by choosing the menu items Project | Add To Project | Components and Controls.... Open the "Registered ActiveX Controls" folder. Scroll till you find Microsoft Web Browser. To insert the control to your project, double click "Microsoft Web Browser". Or select Microsoft Web Browserand click the insert button. A dialog appears showing the associated class names. Say ok for everything. Now you can start working on that class created. The control appears on the window where all the controls are present. Select the web browser control and place it on your from. Assign a  member variable to it and start using that vaiable in your program. To open a web page through web control and see it in the web control . Use the function. Example.
m_browser.Navigate(_T("http://www.yahoo.com,"),0,NULL,NULL,NULL);

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial