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.
Regards
Ahmed