VB .Net created dll is missing exports

Posted on 2006-05-03
Last Modified: 2008-03-06
I'm not a VB .Net heavyweight, but I got a dll created with VB .Net 2002 using this code:

Public Class Class1

    Public Function myFunction(ByVal input As String) As String
    End Function
End Class

Using a thirdparty viewer (sort of like quickview), there are no exports in the generated dll.  I need "myFunction" exposed so that I can call it externally.  I want to create a conventional dll, not an ActiveX one.  How do I tell which kind my dll is?  

Thanx in advance
Question by:dtlockard
    LVL 69

    Expert Comment

    by:Éric Moreau
    .Net cannot create a DLL like the one your are talking about. It cannot create an ActiveX one neither.

    You have to use a language like C/C++ to build them.

    Author Comment

    How about VB 6?  Can I create a conventional dll (with exported function(s)) with VB 6?

    Thanx in advance
    LVL 69

    Accepted Solution

    no it will be a COM object (ActiveX)

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now