Embed a .net customControl in XFT

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

    Embed a .net customControl in XFT

    Has anyone been able to use a C# Component in a VB form? I've created
    a .net class (dll) and am able to implement that from a VB script using
    the interop. The control does work stand alone.

    Any help on this is greatly appreciated.


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Embed a .net customControl in XFT

    fooManChoo,

    Officially, there is no support to host a control from .NET in an Active
    X host, except for Internet Explorer. However, there is a workaround, and
    it is VERY unsupported. There is an article 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


    Hope this helps.


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

    "fooManChoo " <newsgroupaddy@ hotmail.com> wrote in message
    news:%23PKmaOps DHA.3196@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > Has anyone been able to use a C# Component in a VB form? I've created
    > a .net class (dll) and am able to implement that from a VB script using
    > the interop. The control does work stand alone.
    >
    > Any help on this is greatly appreciated.
    >
    >[/color]


    Comment

    Working...