By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Creating dll in vb.net

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
You need to run regasm not regsvr32 for Net applications.

HTH
--
David Williams, VB.NET MVP
"suganya" wrote:
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.

Nov 20 '05 #2

P: n/a
* "suganya" <su*****@hotmail.com> scripsit:
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".

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #3

P: n/a
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.

"David Williams" <Da***********@discussions.microsoft.com> wrote in message
news:48**********************************@microsof t.com...
You need to run regasm not regsvr32 for Net applications.

HTH
--
David Williams, VB.NET MVP
"suganya" wrote:
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.

Nov 20 '05 #4

P: n/a
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" <su*****@hotmail.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
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.

Nov 20 '05 #5

P: n/a
* suganya <su*****@hotmail.com> scripsit:
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?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.