Hosting .NET controls in IE ***LOCALLY***
-
I would like to write a Windows app that looks like (e.g.) Microsoft Outlook. I thought it would be easy - I hosted a WebBrowser COM control in my Windows form, and pointed it at a frameset containing the graphic buttons on the left. The buttons loaded different local html pages on the right. So far so good. Now I want to host some Windows.Forms controls in one of my pages on the right. My idea is to derive my own controls from Windows.Forms controls, and have them interact directly with my app. I followed some tutorials on doing this, but they all assume the html page is on a Web Server. Mine is local ("file://" instead of "http://"). So I created an object like this... < object id="testControl" classid="file:MyControls.dll#MyControls.TestControl" height="300" width="300" VIEWASTEXT> < /object> But it doesn't work. Is it something I'm doing, or a bug, or isn't it supposed to be possible?