VB .Net created dll is missing exports

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
        'implementation
    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
dtlockardAsked:
Who is Participating?
 
Éric MoreauConnect With a Mentor Senior .Net ConsultantCommented:
no it will be a COM object (ActiveX)
0
 
Éric MoreauSenior .Net ConsultantCommented:
.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.
0
 
dtlockardAuthor Commented:
How about VB 6?  Can I create a conventional dll (with exported function(s)) with VB 6?

Thanx in advance
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.