Creating dll in vb.net

  • Thread starter Thread starter suganya
  • Start date Start date
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.
 
* "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".
 
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.
 
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
 
* 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?
 
Back
Top