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.


Recommended Answers

Not sure if it is the right way but
- I read dll created by .net does not need to be registered.
- if regsvr32 did not work try regasm


Jump to Post

All 2 Replies

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.