Using .Net Windows controls from COM (VB6)

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

    #1

    Using .Net Windows controls from COM (VB6)

    Hi,

    I have created a .Net Windows control and I want to be
    able to use it from VB6. I have spent a lot of time
    trying to me it work but no success. I've been using
    attributes (ComRegisterFun ction, ComUnregisterFu nction),
    Regasm, strong key but no results.

    Can anybody tell me or provide me an example of how to use
    a .Net windows control from COM (VB6).

    Thanks!

  • Mattias Sjögren

    #2
    Re: Using .Net Windows controls from COM (VB6)

    Jaime,
    [color=blue]
    >Can anybody tell me or provide me an example of how to use
    >a .Net windows control from COM (VB6).[/color]

    That's not supported, and if you try it anyway it tends to not work
    very well, so if I were you I'd re-think my design. Managed languages
    aren't the best choice to write ActiveX controls in.



    Mattias

    --
    Mattias Sjögren [MVP] mattias @ mvps.org

    Please reply only to the newsgroup.

    Comment

    Working...