DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: semi-dumb question...calling C# from VB6 ?

  1. #1
    Patrick Steele [MVP] Guest

    Re: semi-dumb question...calling C# from VB6 ?

    In article <3d0f4883$1@10.1.10.29> (from Chris Hylton
    <cchylton@hotmail.com>),
    >
    > Is there a way to call a C# dll from VB6. I have a C# object that I'd like
    > to be able to use in a couple of VB6 apps until I have time to convert the
    > entire VB6 app to .NET.
    >
    > Is this possible and how to I convert the C# dll to something that COM can
    > see and access.


    Sure. It's pretty easy.

    http://discuss.develop.com/archives/...OTNET&P=R52408

    --
    Patrick Steele
    Microsoft .NET MVP

  2. #2
    Chris Hylton Guest

    semi-dumb question...calling C# from VB6 ?


    Is there a way to call a C# dll from VB6. I have a C# object that I'd like
    to be able to use in a couple of VB6 apps until I have time to convert the
    entire VB6 app to .NET.

    Is this possible and how to I convert the C# dll to something that COM can
    see and access.

    Thanks,
    Chris

  3. #3
    Chris Hylton Guest

    Re: semi-dumb question...calling C# from VB6 ?


    Thanks, exactly what I was looking for...

    Chris

    Patrick Steele [MVP] <patrick@mvps.org> wrote:
    >In article <3d0f4883$1@10.1.10.29> (from Chris Hylton
    ><cchylton@hotmail.com>),
    >>
    >> Is there a way to call a C# dll from VB6. I have a C# object that I'd

    like
    >> to be able to use in a couple of VB6 apps until I have time to convert

    the
    >> entire VB6 app to .NET.
    >>
    >> Is this possible and how to I convert the C# dll to something that COM

    can
    >> see and access.

    >
    >Sure. It's pretty easy.
    >
    >http://discuss.develop.com/archives/...OTNET&P=R52408
    >
    >--
    >Patrick Steele
    >Microsoft .NET MVP



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center