Solved

Registering DLL file created in .net on Other PCs

Posted on 2004-09-22
6
215 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 18

Expert Comment

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

Accepted Solution

by:
rajaloysious earned 500 total points
Comment Utility
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
Comment Utility
Thanks friend, it worked
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now