[Sample of June 17th] Extended WebBrowser control supporting tabs

 

Homepage image
image RSS Feed

Sample Download : https://code.msdn.microsoft.com/VBTabbedWebBrowser-f0c0a525

The sample demonstrates how to create a tabbed WebBrowser.

The "Open in new Tab" context command is disabled in WebBorwser by default, you can add a value *.exe=1 (* means the process name)to the key HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_TABBED_BROWSING. This menu will only take effect after the application is restarted. See https://msdn.microsoft.com/en-us/library/ms537636(VS.85).aspx

DWebBrowserEvents2 Interface designates an event sink interface that an application must implement to receive event notifications from the underlying ActiveX control, and there is a NewWindow3 Event in this interface. See https://msdn.microsoft.com/en-us/library/aa768283(VS.85).aspx

image

 

For detailed introduction of the sample, please read the documentation at https://code.msdn.microsoft.com/VBTabbedWebBrowser-f0c0a525 

imageYou can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage https://1code.codeplex.com/.