Hi guys,

Anybody can help me out with this. I have made a DLL with VB.net. Under project settings i have marked checked 2 things
1. Register for COM interop
2. Make assembly COM visible

When i build project its done successfully. Now i take DLL file from project location and copy it in System32. Then on command prompt i use following command to register self creating DLL so that other vb.net programs can use my DLL and etc.

I used: regsvr32 C:\windows\System32\abc.dll

But when i press enter i get the following error message. Why this DLL file is not registering as a COM component
Error is :
The module "C:\windows\System32\abc.dll" was loaded but the entry-point DllRegisterServer was not found
Make sure that
"C:\windows\System32\abc.dll" is a valid DLL or OCX file and then try again

What is the solution for this. Quick reply will be appreciated.


8 Years
Discussion Span
Last Post by __avd

You can use the Regsvr32 tool to register and unregister OLE controls such as DLL or ActiveX Controls (OCX) files that are self-registerable.

Please read this article - What is a DLL?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.