Creating dll in vb.net

S

suganya

i am new to vb.net. i am trying to create a class library ( equivalent of
vb's dll) in vb.net . i checked the 'register for COM interop' option and
built the app. a dll ic cretaed but i am not able to register the dll. the
error message says " example.dll was loaded but DLLRegisterServer Entry
Point was found". what am i missing here?Thanks in advance.

Suganya.
 
H

Herfried K. Wagner [MVP]

* "suganya said:
i am new to vb.net. i am trying to create a class library ( equivalent of
vb's dll) in vb.net . i checked the 'register for COM interop' option and
built the app. a dll ic cretaed but i am not able to register the dll. the
error message says " example.dll was loaded but DLLRegisterServer Entry
Point was found". what am i missing here?Thanks in advance.

Register the DLL using "REGASM.EXE".
 
S

suganya

thanks.i did try regasm.it says "types registered successfully" but i am not
able to see the name of my dll listed in the registry.

suganya.
 
T

Telmo Sampaio

suganya,

Where are you trying to load the dll from? When you compile that dll it
should be automatically registered on your machine. If you move it somewhere
else you have to register it by using the REGASM tool.

Remember, you do not need to use enable for COM interop in DLLs that will be
called from .NET assemblies.

Telmo Sampaio
 
H

Herfried K. Wagner [MVP]

* suganya said:
thanks.i did try regasm.it says "types registered successfully" but i am not
able to see the name of my dll listed in the registry.

Are you able to use the DLL?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top