DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Jeremiah Guest

    VB.Net WCL in VB6?


    Is it possible to create an ActiveX control (Windows Control Library) in VB.Net
    that will work in VB6? I suppose the WCL doesn't compile to a .ocx file anymore.
    Suggestions? Thanks in advance.

    JKB

  2. #2
    Patrice Scribe Guest

    Re: VB.Net WCL in VB6?

    You could use "tlbexp.exe" to create a type library that exposes your .NET
    class as a type library (you'll need of course the .NET runtime).

    If you intend to consume this control using only VB6, I would create the
    control using a COM based language (such as VB6). IMO it's best to use
    interoperability between .NET and COM only if you can't do otherwise.

    Patrice

    "Jeremiah" <sabjkb@speakeasy.org> a écrit dans le message de news:
    3da332fc$1@10.1.10.29...
    >
    > Is it possible to create an ActiveX control (Windows Control Library) in

    VB.Net
    > that will work in VB6? I suppose the WCL doesn't compile to a .ocx file

    anymore.
    > Suggestions? Thanks in advance.
    >
    > JKB




Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links