Register dll in system

Hi to all....

I developed a dll. And how to register that dll in to my system used for other manipulation. I an tring to register that dll using regsvr32 command, But it shows an error "Dll can't loaded". Plz tell how to register a .net dll in that system(or other system)....




Answer this question

Register dll in system

  • Dan-Teklynx

    HI,

    just go through this link and follow it.

    http://www.simple-talk.com/dotnet/visual-studio/build-and-deploy-a-.net-com-assembly/.

    I think this will resolve your problem.



  • Satmann

    You have to install the .NET Framework Redistributable on the target system. The target system doesn't need Visual Studio, but it does require the underlying .NET Framework to be installed. You can't just register the .NET dlls.

    You can get the .NET Framework Redist from here:

    http://www.microsoft.com/downloads/details.aspx FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en


  • coolkay

    I am using follwing commands to register my .net dll on the machine where VB .net 2003 is is installed.

    gacutil /u samutils
    gacutil /if c:\windows\system32\samutils.dll
    regasm c:\windows\system32\samutils.dll

    I need to register same samutils.dll on the client machine where i can expect only .netframework 1.1. On client machine, i am able to find regasm.exe. but there is no gacutil.exe. Any help on this. Will distributing gacutil.wxe with dll server the purpose without compromising on licence

    Help is appreciated.



  • K::ot???ter

    Hi,

    The regsvr32 command is for registering COM dll's, not .NET assemblies. If you are trying to register a .NET assembly so that you can use it from a COM client, you can use the Regasm.exe tool from the .NET SDK.

    If that's not it, please explain what you are trying to do in greater detail.

    Hope this helps,

    Steve Hoag

    Visual Basic



  • DeamonX

    HI,

    Ur right... But i want to register the .Net Dll in another system(Target system does't have .net,,,)... Do u understand my point... I register that Dll in another system. And i use that dll in AXAPTA software. Plz tell How to register .Net dll in another sys......



  • yabansu

    Also, the class that you're trying to expose should be built as a ComClass, not just a .NET class. See this for more info:

    http://msdn.microsoft.com/vbrun/vbfusion/default.aspx pull=/library/en-us/dv_vstechart/html/VB5000Cl.asp


  • Register dll in system