DLL Question

rvlune

Member
Joined
Oct 24, 2007
Messages
10
Programming Experience
Beginner
Hello,

I have made an simply DLL in VB.Net with the following code:

Public Class Class1

Sub Melding()
MsgBox("Reinder")
End Sub

End Class

When ik try to register this dll, i'am getting a message saying that it was loaded, but "the DllRegisterServer entry point was not found. This file can not be registered.

Can anyone please help me ?
Thanks in advance !

Regards.
Reinder
 
.NET or ActiveX?

If you are creating a .NET DLL you don't need to register the DLL you add a reference of the assembly in your application.

If you are trying to create a COM DLL in .NET (I have not done yet); but, there is a setting for the DLL to make it COM enabled.
 
Hi Pete,

I don't know which one i am trying to make.
Here is what i did :
File - New Project - VB Projects - Class Library

Is this a .NET DLL or a COM DLL ?

I have in my project a AssemblyInfo.vb.

I want to registrate this dll because i want to use some functions in this dll in vbscript, so i need to registrate it in Windows.

I hope you can help me further . .

Regards,
Reinder


If you are creating a .NET DLL you don't need to register the DLL you add a reference of the assembly in your application.

If you are trying to create a COM DLL in .NET (I have not done yet); but, there is a setting for the DLL to make it COM enabled.
 
Back
Top