Using a .Net Windows control from COM (VB6)

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

    #1

    Using a .Net Windows control 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 prove me an example of how to use
    a .Net windows control from COM (VB6).

    Thanks!

  • Klaus H. Probst

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

    You can't do this, AFAIK. You can use COM controls in .NET, but not the
    other way around.


    --
    _______________ _____
    Klaus H. Probst, MVP
    Great prices on a large selection of domains. Find the pefect domain for your new startup.


    "Jaime Soto" <jsoto@canada.c om> wrote in message
    news:008b01c3b5 08$8213b000$a30 1280a@phx.gbl.. .[color=blue]
    > 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 prove me an example of how to use
    > a .Net windows control from COM (VB6).
    >
    > Thanks!
    >[/color]


    Comment

    Working...