Developing ActiveX control in C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Laxman Bhat

    Developing ActiveX control in C#

    Hello,

    I want to develop a simple activeX control with property
    page support in C#. Any code samples/reference material
    will be highly appreciated.

    Thanks in advance,
    Laxman


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Developing ActiveX control in C#

    Laxman,

    There is no official support for developing ActiveX controls in .NET.
    There is an article by Chris Sells titled "Hosting Windows Forms Controls in
    COM Control Containers" located at (watch for line wrap):

    Now, next, and beyond: Tracking need-to-know trends at the intersection of business and technology


    However, it says that this is EXTREMELY unsupported, and if it breaks,
    that is something you have to handle.

    As for property pages, there is no mention of that and you would have to
    implement that yourself.

    Hope this helps.

    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Laxman Bhat" <anonymous@disc ussions.microso ft.com> wrote in message
    news:0dd301c3a9 e6$546eb6e0$a30 1280a@phx.gbl.. .[color=blue]
    > Hello,
    >
    > I want to develop a simple activeX control with property
    > page support in C#. Any code samples/reference material
    > will be highly appreciated.
    >
    > Thanks in advance,
    > Laxman
    >
    >[/color]


    Comment

    • Eric Cadwell

      #3
      Re: Developing ActiveX control in C#

      You can delevop Controls .NET, but not ActiveX controls.



      HTH;
      Eric Cadwell



      Comment

      Working...