How to view windows form control library in a web page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?YWhtZWQgZmF0aGk=?=

    #1

    How to view windows form control library in a web page

    I created new project From VC++ .net IDE. CLR->Windows forms control library.
    I need to view the control in a web page but I can't.
    Your advice is Higly appreciated
  • Ben Voigt [C++ MVP]

    #2
    Re: How to view windows form control library in a web page

    ahmed fathi wrote:
    I created new project From VC++ .net IDE. CLR->Windows forms control
    library. I need to view the control in a web page but I can't.
    Your advice is Higly appreciated
    You need to create a web or Silverlight project instead. Windows.Forms
    controls can't be hosted in web browsers.


    Comment

    • Sheng Jiang[MVP]

      #3
      Re: How to view windows form control library in a web page

      IE supports Hosting Winform controls but if your control is written in C++,
      you can not guarantee VC Runtime is on the viewer's machine. And the default
      security setting is very restrictive.


      --
      Sheng Jiang
      Microsoft MVP in VC++
      "ahmed fathi" <ahmedfathi@dis cussions.micros oft.comwrote in message
      news:E7B8323A-526A-4E11-8E4F-24F3EE326AB3@mi crosoft.com...
      I created new project From VC++ .net IDE. CLR->Windows forms control
      library.
      I need to view the control in a web page but I can't.
      Your advice is Higly appreciated

      Comment

      Working...