Active X Component to replace an ocx

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

    #1

    Active X Component to replace an ocx

    How do I create a .NET ActiveX component that has a form to be hosted in a
    non DotNet
    environment.
    Basically in VB6 I would have simply created an ActiveX ocx.

    -Lou


  • sloan

    #2
    Re: Active X Component to replace an ocx


    I think in dotnet they are called
    "embedded controls"

    try google with that search string instead. (or wait til someone else
    responds)



    "Lou" <lou.garvin@com cast.netwrote in message
    news:OYNdjB%23k HHA.5048@TK2MSF TNGP04.phx.gbl. ..
    How do I create a .NET ActiveX component that has a form to be hosted in a
    non DotNet
    environment.
    Basically in VB6 I would have simply created an ActiveX ocx.
    >
    -Lou
    >
    >

    Comment

    • Egghead

      #3
      Re: Active X Component to replace an ocx

      I believe you cannot run the .Net control in a PC without .net environment.
      You can have a wrapper class for the .Net control using in a non donet
      application. However, you need dotnet framework at run-time.


      --
      cheers,
      RL
      "Lou" <lou.garvin@com cast.netwrote in message
      news:OYNdjB%23k HHA.5048@TK2MSF TNGP04.phx.gbl. ..
      How do I create a .NET ActiveX component that has a form to be hosted in a
      non DotNet
      environment.
      Basically in VB6 I would have simply created an ActiveX ocx.
      >
      -Lou
      >

      Comment

      • =?Utf-8?B?S2VycnkgTW9vcm1hbg==?=

        #4
        RE: Active X Component to replace an ocx

        Lou,

        Here is some information on using a .Net form or user control in a VB6
        application:

        http://msdn2.microsoft.com/en-us/vbasic/bb419144.aspx

        Kerry Moorman


        "Lou" wrote:
        How do I create a .NET ActiveX component that has a form to be hosted in a
        non DotNet
        environment.
        Basically in VB6 I would have simply created an ActiveX ocx.
        >
        -Lou
        >
        >
        >

        Comment

        • Michel Posseth  [MCP]

          #5
          Re: Active X Component to replace an ocx

          You could just create a dll with a COM interface , from the dll you can
          start .Net forms

          simple ,,, only thingy you can`t reproduce is the behavior of a out of
          process component ( like in VB6 a activex exe )

          regards

          Michel



          "Lou" <lou.garvin@com cast.netschreef in bericht
          news:OYNdjB%23k HHA.5048@TK2MSF TNGP04.phx.gbl. ..
          How do I create a .NET ActiveX component that has a form to be hosted in a
          non DotNet
          environment.
          Basically in VB6 I would have simply created an ActiveX ocx.
          >
          -Lou
          >

          Comment

          • Lou

            #6
            Re: Active X Component to replace an ocx

            Kerry that's exactly what I need. Can the application hosting the .NET
            control be a C++ app instead of a VB6 app?


            "Kerry Moorman" <KerryMoorman@d iscussions.micr osoft.comwrote in message
            news:53DEF640-CC29-4CD7-8024-2FE52A53B419@mi crosoft.com...
            Lou,
            >
            Here is some information on using a .Net form or user control in a VB6
            application:
            >
            http://msdn2.microsoft.com/en-us/vbasic/bb419144.aspx
            >
            Kerry Moorman
            >
            >
            "Lou" wrote:
            >
            >How do I create a .NET ActiveX component that has a form to be hosted in
            >a
            >non DotNet
            >environment.
            >Basically in VB6 I would have simply created an ActiveX ocx.
            >>
            >-Lou
            >>
            >>
            >>

            Comment

            Working...