Register dlls

How to register vb.net dll in windows system. And how to register that .Dll in another system.
[94 byte] By [suneelb2b] at [2008-2-20]
# 1

By default a .NET dll does not need to be registered with the OS like previous DLL's and regsvr...You can however install a .NET dll into the Global Assembly Cache so that it is accesible system wide:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfglobalassemblycacheutilitygacutilexe.asp

DMan1 at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Interop and Upgrade...
# 2

If you want to register a .NET dll so that you can use the .NET classes from a COM environment (like VB6), then you should use the COM Class item template in your VB.NET class library, and use the regasm command line to register the DLL. See http://msdn.microsoft.com/vbrun/vbfusion for details.

ScottSwigart-MVP at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Interop and Upgrade...
# 3

Does the COM environment (VB6) PC needs to have .NET run time installed?

Thanks

Morgan

Tireless_Developer at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Interop and Upgrade...
# 4
Yes.
ScottSwigart-MVP at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Interop and Upgrade...