Ie engine
-
How do I open html files or any other file that opens up in normal ie using a simple form. I want to be able to press spacebar and it would open up the next file in the directore using my form. But files are dcr(director) files and onlu open up in ie. Thanks
-
How do I open html files or any other file that opens up in normal ie using a simple form. I want to be able to press spacebar and it would open up the next file in the directore using my form. But files are dcr(director) files and onlu open up in ie. Thanks
Right-click on the VS.NET toolbox and click Customize. Select the COM tab and find the Microsoft Web Browser component. Add it and click OK. Then drag and drop it from the toolbox to your form. Now you've got an instance of the Internet Explorer WebBrowser control. You can open files using
WebBrowser.Navigate2
, for example. There's other ways, though, just as there's other ways to add the WebBrowser component to your project. Search CodeProject for "WebBrowser" for more examples and articles using the search textbox below the logo toward the top of the page.Microsoft MVP, Visual C# My Articles
-
Right-click on the VS.NET toolbox and click Customize. Select the COM tab and find the Microsoft Web Browser component. Add it and click OK. Then drag and drop it from the toolbox to your form. Now you've got an instance of the Internet Explorer WebBrowser control. You can open files using
WebBrowser.Navigate2
, for example. There's other ways, though, just as there's other ways to add the WebBrowser component to your project. Search CodeProject for "WebBrowser" for more examples and articles using the search textbox below the logo toward the top of the page.Microsoft MVP, Visual C# My Articles