Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Registering DLL file created in .net on Other PCs

Posted on 2004-09-22
6
Medium Priority
?
231 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 1500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

926 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