473,394 Members | 1,706 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,394 software developers and data experts.

Registering DLL's in .NET

C
Hi,

I developed some dlls in VB.Net.

Can I simply copy these to another PC and they will
register automatically or does this only happen when I
copy them to the bin folder.

Any web links or help on this would be much appreciated.

C.
Jul 21 '05 #1
3 23591
> Can I simply copy these to another PC and they will
register automatically or does this only happen when I
copy them to the bin folder.


For ASP.NET apps, use the bin folder. For normal apps I think it's the same
folder as the app. And the assembly cache works for both.
Jul 21 '05 #2
C,

You don't have to register DLL's in .NET. They are located by where they are
stored relative to the main application or by instructions in a
configuration file.

When you create a web application your DLLs should go in the bin folder just
off your root. In a windows application they should go in the same folder as
the EXE.

These examples illustrate the simplest case but there are several other
options. To make things a little more complicated locating a DLL works
somewhat differently if the DLL has a strong name. For more information
search the internet for terms like xcopy deployment, global assembly cache
(GAC), strong name.

Hope this helps,

--
Rob Windsor
G6 Consulting
Toronto, Canada
"C" <c@nospam.com> wrote in message
news:4d****************************@phx.gbl...
Hi,

I developed some dlls in VB.Net.

Can I simply copy these to another PC and they will
register automatically or does this only happen when I
copy them to the bin folder.

Any web links or help on this would be much appreciated.

C.

Jul 21 '05 #3
>I developed some dlls in VB.Net.
Can I simply copy these to another PC and they will
register automatically


..NET DLL's don't need to be "registered" - just put them in a place
where your app can get to (your app's directory, or the Global
Assembly Cache), and they'll be "discovered" when needed. No more
messy registrations!

Marc

================================================== ==============
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Catherine Jones | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution Regards and thanks
1
by: Kelly G. | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution. Here is the complete issue: I building a MSI using Vs.net ,One of the Dll's is Vb Component ( A shim...
6
by: Daniel Bass | last post by:
The scenario: ------------- I've created a simple COM object according to a tutorial I found: http://www.csharphelp.com/archives/archive281.html It automatically creates a Type Library...
6
by: ian | last post by:
Hi All I have a DLL (nahd.dll) that has been supplied to me will a PBX phone system. According to the documentation it is to allow developers to write there own applications to monitor the...
3
by: InteropNut | last post by:
Hi, My ASP.NET application uses the MSOWCF.dll COM component (ms office functions) and it works fine on my computer with MS Office installed. But I am trying to upload the application to my web...
8
by: William Cruz | last post by:
Using: "regsvr32 expcg.dll" I get this error message: "expcg.dll was loaded, but the DllRegisterServer entry point was not found. the file can not be registered." William Cruz *** Sent via...
3
by: gaschurman | last post by:
I have a DLL (imagemagick) that I need to use in my site , but the web hosting does not allow me to register the DLL. is there any way to use that DLL refiring to the Path without registering ?...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
I use "Click Once" Deployment from VS2005. Works like a charm. I have to deploy a console app and an MS Access ADP. The console app invokes the ADP. I copy the ADP to the application files to be...
12
by: cfps.Christian | last post by:
I've got a nice little deadline here and have to deal with the dumbest things possible to get it done. I had to create an application that is spliced into another application via an event handler...
0
by: Grumpy Aero Guy | last post by:
I have an app that utilizes a DLL provided by a 3rd party. This DLL requires registration via "regsvr32" before adding it successfully as a reference in Visual Studio during development. This...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.