[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

Registering DLL file created in .net on Other PCs

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
khokhar28
Asked:
khokhar28
  • 3
  • 2
1 Solution
 
armoghanCommented:
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
 
armoghanCommented:
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
 
khokhar28Author Commented:
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
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
armoghanCommented:
see my last comment . making a bridge is the solution
0
 
rajaloysiousCommented:
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
 
khokhar28Author Commented:
Thanks friend, it worked
0

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now