Solved

Registering DLL file created in .net on Other PCs

Posted on 2004-09-22
6
222 Views
Last Modified: 2010-04-23
Hello,
I have created a Dll file using VB.Net Class project. Now I need use it in other programs (e.g. .Net / ColdFusion / MsAscess etc.) on Other PCs.
The problem is, I can not just copy this dll file and call it from these programs; I need to register it. But when I try to register it like say with Regsvr32.exe in WinXP, it gives me an error and doesn't register.
Do I need to make another type of project OR are these .net created dll files can't be registered and consiquently can't be used at all in other programs.

Any help/tip is much appriciated.

Khokhar
0
Comment
Question by:khokhar28
  • 3
  • 2
6 Comments
 
LVL 18

Expert Comment

by:armoghan
ID: 12130902
The .net DLL does not need to be registed. You can use it in  other .NET application by just adding them as references in other .NET projects
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12130958
That is an example of using .NET dll in non-dotnet languages like Cold Fusion or C++ or any other
http://www.codeproject.com/dotnet/bridge.asp
0
 

Author Comment

by:khokhar28
ID: 12130977
Yes, in .Net I have done that already and have used them in a no. of programs, but I need to use it in other applications as well. For those ones it doesn't work.

So, does it not work at all with other applications/ programs and only with .net programs ? If it works... How ?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 18

Expert Comment

by:armoghan
ID: 12131039
see my last comment . making a bridge is the solution
0
 
LVL 8

Accepted Solution

by:
rajaloysious earned 500 total points
ID: 12131861
I guess there is a tool called RegAsm.Exe (counterpart to regsvr32 for COM)
You can use this to register an assembly ( dll is called so in .NET)

Also you can think of putting your assembly in the GAC (Global Assembly Cache) for access to other applications.

Cheers...
0
 

Author Comment

by:khokhar28
ID: 12140928
Thanks friend, it worked
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Opening and Closing Connections and Data Adapters 10 49
Variable Event ? 3 28
Run a batch file when a Crystal Report is opened 5 27
write xml in vb.net 2 24
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question