Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Hosting .NET controls in IE ***LOCALLY***

Hosting .NET controls in IE ***LOCALLY***

Scheduled Pinned Locked Moved C#
csharphtmlcomsysadminhosting
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups