473,320 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Creating dll in vb.net

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
5 7036
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
* "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
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
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
* 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: rdsteph | last post by:
Python411 is a series of podcasts about Python, aimed at hobbyists and others who are learning Python. Each episode focuses on one aspect of learning Python, or one kind of Python programming, and...
6
by: owen | last post by:
Generally speaking, what does it mean when I see a "button" with red text showing this message instead of the control I've dragged onto the web form in Design View.? (But the page works fine at...
2
by: Pawan | last post by:
Hi Guys, I have this current assignment where I have to develop online forms for local municipal authorities. I have to use adobe acrobat to create online forms from PDFs (which I have never done...
15
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use...
2
by: LIN | last post by:
Hello, Greetings. I am creating a web site which will contain lot of articles. I had been planning to create simple HTML page on the server everytime i posted a article (eg. article12.html )....
2
by: Patrick | last post by:
I want to define a set of web-form templates in XML and render the equivalent web-form with ASP.NET, then process any input server controls on the form. Reading the XML file from Page_load is...
0
by: Ravi Ambros Wallau | last post by:
Hi: I've created a custom control - a grid that uses Infragistics to display some filters, the grid itself, and some buttons. Well, when using this control directly on WebForm, everything works...
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
15
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
9
by: =?Utf-8?B?YmJn?= | last post by:
Hi all, I read somewhere "using kernel stuff in thread is not good.." if ManualResetEvent object is created in thread but not actually used, will it affect performance? Bob
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.