Referencing a .Net class library using VB6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Referencing a .Net class library using VB6

  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!

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