Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have three buttons in form named IE, Chrome & Firefox. On click of these button, i need to open concerned browsers and that should be opened inside form.
Posted
Comments
Philippe Mori 8-Dec-15 12:21pm    
If you embed a browser, select the want you want... It does not make much sense to support many browser inside your own application as it won't be a complete UI anyway...

You can't embed applications into your form. For browsers I assume what you want to use is the rendering engine that turns html into a visible document. IE exposes its rendering engine as an ActiveX control that you can easily embed into your form because Microsoft are nice like that. For Chrome or Firefox you'd have to find a way of embedding their respective engines which are Blink and Gecko, however these change over time and versions. So google for how to embed Blink and how to embed Gecko, however it might not be easily possible.
 
Share this answer
 
Comments
Richard Deeming 8-Dec-15 10:26am    
Various options for embedding Chrome in a WPF application are listed in this thread on StackOverflow[^]. There are probably WinForms versions as well, if that's what the OP is using.
Try using the System.Windows.Forms.WebBrowser-Control for IE.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900