C#Control.>VB.NET

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

    #1

    C#Control.>VB.NET

    Hello


    Can in C# programmed control to be added to VB.NET Form?



    Mex


  • Mex

    #2
    Re: C#Control.>V B.NET

    sry, just ignore prev. question :))


    Mex


    "Mex" <redivivus@hot. eewrote in message
    news:O7T5ed0pHH A.3892@TK2MSFTN GP05.phx.gbl...
    Hello
    >
    >
    Can in C# programmed control to be added to VB.NET Form?
    >
    >
    >
    Mex
    >

    Comment

    • rowe_newsgroups

      #3
      Re: C#Control.&gt;V B.NET

      On Jun 5, 3:58 am, "Mex" <redivi...@hot. eewrote:
      Hello
      >
      Can in C# programmed control to be added to VB.NET Form?
      >
      Mex
      For the others who may be searching the archives, the "standard" way
      is to compile the C# control into a dll, add that dll to the project
      (and the toolbox if desired), and use the control like normal. You can
      also add the C# project to your solution and reference the project if
      you need to do updates to the control.

      Thanks,

      Seth Rowe

      Comment

      • zacks@construction-imaging.com

        #4
        Re: C#Control.&gt;V B.NET

        On Jun 5, 6:33 am, rowe_newsgroups <rowe_em...@yah oo.comwrote:
        On Jun 5, 3:58 am, "Mex" <redivi...@hot. eewrote:
        >
        Hello
        >
        Can in C# programmed control to be added to VB.NET Form?
        >
        Mex
        >
        For the others who may be searching the archives, the "standard" way
        is to compile the C# control into a dll, add that dll to the project
        (and the toolbox if desired), and use the control like normal. You can
        also add the C# project to your solution and reference the project if
        you need to do updates to the control.
        >
        Thanks,
        >
        Seth Rowe
        I think there is an even easier method with VS2005. If the control was
        compiled as an OCX, I think you can just drag the ocx file to the
        toolbox window, and the control is then available as any standard
        toolbox control.

        Comment

        • Cor Ligthert [MVP]

          #5
          Re: C#Control.&gt;V B.NET

          Hi Zack and Seth,

          I assume you are kiding,

          For the OP there are in Net no C# or VB.Net controls it are .Net controls
          all nice in a namespace.

          (some are not direct delivered but go using a powerpack or whatever the name
          they have given to that)

          Cor

          <zacks@construc tion-imaging.comschr eef in bericht
          news:1181046452 .655738.269470@ o5g2000hsb.goog legroups.com...
          On Jun 5, 6:33 am, rowe_newsgroups <rowe_em...@yah oo.comwrote:
          >On Jun 5, 3:58 am, "Mex" <redivi...@hot. eewrote:
          >>
          Hello
          >>
          Can in C# programmed control to be added to VB.NET Form?
          >>
          Mex
          >>
          >For the others who may be searching the archives, the "standard" way
          >is to compile the C# control into a dll, add that dll to the project
          >(and the toolbox if desired), and use the control like normal. You can
          >also add the C# project to your solution and reference the project if
          >you need to do updates to the control.
          >>
          >Thanks,
          >>
          >Seth Rowe
          >
          I think there is an even easier method with VS2005. If the control was
          compiled as an OCX, I think you can just drag the ocx file to the
          toolbox window, and the control is then available as any standard
          toolbox control.
          >

          Comment

          • rowe_newsgroups

            #6
            Re: C#Control.&gt;V B.NET

            On Jun 5, 1:50 pm, "Cor Ligthert [MVP]" <notmyfirstn... @planet.nl>
            wrote:
            Hi Zack and Seth,
            >
            I assume you are kiding,
            >
            For the OP there are in Net no C# or VB.Net controls it are .Net controls
            all nice in a namespace.
            >
            (some are not direct delivered but go using a powerpack or whatever the name
            they have given to that)
            >
            Cor
            >
            <z...@construct ion-imaging.comschr eef in berichtnews:118 1046452.655738. 269470@o5g2000h sb.googlegroups .com...
            >
            On Jun 5, 6:33 am, rowe_newsgroups <rowe_em...@yah oo.comwrote:
            On Jun 5, 3:58 am, "Mex" <redivi...@hot. eewrote:
            >
            Hello
            >
            Can in C# programmed control to be added to VB.NET Form?
            >
            Mex
            >
            For the others who may be searching the archives, the "standard" way
            is to compile the C# control into a dll, add that dll to the project
            (and the toolbox if desired), and use the control like normal. You can
            also add the C# project to your solution and reference the project if
            you need to do updates to the control.
            >
            Thanks,
            >
            Seth Rowe
            >
            I think there is an even easier method with VS2005. If the control was
            compiled as an OCX, I think you can just drag the ocx file to the
            toolbox window, and the control is then available as any standard
            toolbox control.
            Cor, I believe the OP is talking about custom controls he created in a
            C# project - not the control's "packaged" with the framework. So no, I
            am not kidding :-)

            Thanks,

            Seth Rowe

            Comment

            Working...