DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2005
    Posts
    2

    Referencing a .Net class library using VB6

    I've written a class library using VB.Net. When I try to reference the dll (sitting in the vb.net project bin folder), using my VB6 project I get an error saying "Can't add a reference to the specified file."

    When I try to register the dll in msdos using the regsvr32 command, I get the error "filename.dll was loaded, but the DllRegisterServer entry point was not found. The file can not be registered." I doubt I could have done something wrong when creating the class library, because I can reference it easily using a vb.net windows application.

  2. #2
    Join Date
    Nov 2004
    Location
    Huddinge, Sweden
    Posts
    283
    Look at this: Exposing .NET Components to COM

    Rune
    If you hit a brick wall, you didn't jump high enough!

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