registering dll problem
-
hi dear I m facing a problem.I have devlpoped a dll file in vb.net.now I want to register it.while registration with regsrv32 it gave me message as follows. "dll file was loaded, but dllRegisterServer entry point was not found. file can't b registered" I don'tknow how to solve this error. please help me...... :zzz: thank you be the best...
-
hi dear I m facing a problem.I have devlpoped a dll file in vb.net.now I want to register it.while registration with regsrv32 it gave me message as follows. "dll file was loaded, but dllRegisterServer entry point was not found. file can't b registered" I don'tknow how to solve this error. please help me...... :zzz: thank you be the best...
For as far as I know it is impossible to register .Net dll's with RegSvr32, its not supported. This should not be a problem when you only use this DLL in other .net projects. However if you want other projects to use the DLL you can try regasm.exe which allows COM clients to create .NET Framework classes transparently. For more information on this I advice you to read this article on the tool.
-
For as far as I know it is impossible to register .Net dll's with RegSvr32, its not supported. This should not be a problem when you only use this DLL in other .net projects. However if you want other projects to use the DLL you can try regasm.exe which allows COM clients to create .NET Framework classes transparently. For more information on this I advice you to read this article on the tool.
Thanks for ur prompt answer.But I have to use it in ASP coding.and I think without having register it I couldn't use it in asp coding.if u know the way by which i can use this dll in asp coding without registering it tell me pls.and regasm.exe is not there in window xp as it shows error:"window can't find regasm.exe" Help me pls...........:confused: be the best...
-
Thanks for ur prompt answer.But I have to use it in ASP coding.and I think without having register it I couldn't use it in asp coding.if u know the way by which i can use this dll in asp coding without registering it tell me pls.and regasm.exe is not there in window xp as it shows error:"window can't find regasm.exe" Help me pls...........:confused: be the best...
I take it the .Net framework is installed. This should include the regasm.exe program in its root directory. The location is usuallay 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322', though the version number could vary pending on the version you are using.
-
I take it the .Net framework is installed. This should include the regasm.exe program in its root directory. The location is usuallay 'C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322', though the version number could vary pending on the version you are using.
how can i use this.I've got regasm.exe.if i double click it just flash once on screen and become unvisible.using command prompt i tryed but same result, tell me the way i should Use. Thanks n regards Uttam kumar:doh: be the best...
-
how can i use this.I've got regasm.exe.if i double click it just flash once on screen and become unvisible.using command prompt i tryed but same result, tell me the way i should Use. Thanks n regards Uttam kumar:doh: be the best...
Its easy, just open your command prompt and type: Register: %windir%\Microsoft.Net\Framework\v1.1.4322\RegAsm.exe <library> Unregister: %windir%\Microsoft.Net\Framework\v1.1.4322\RegAsm.exe /unregister <library> Replace <library> with the name of the DLL (include the full path)
-
Its easy, just open your command prompt and type: Register: %windir%\Microsoft.Net\Framework\v1.1.4322\RegAsm.exe <library> Unregister: %windir%\Microsoft.Net\Framework\v1.1.4322\RegAsm.exe /unregister <library> Replace <library> with the name of the DLL (include the full path)
Thank you Gerben Jongerious! I got my Answer. Thanks a lot. Uttam Kumar;) try to be the best... whereever you go,
-
Its easy, just open your command prompt and type: Register: %windir%\Microsoft.Net\Framework\v1.1.4322\RegAsm.exe <library> Unregister: %windir%\Microsoft.Net\Framework\v1.1.4322\RegAsm.exe /unregister <library> Replace <library> with the name of the DLL (include the full path)
hi dear I have register my dll file on server.but after using it in my asp coding it shows incorrect program id.could u tell me y it is so? try to be the best... whereever you go,
-
hi dear I have register my dll file on server.but after using it in my asp coding it shows incorrect program id.could u tell me y it is so? try to be the best... whereever you go,
Each class in your dll should have its own progid. This will include the full namespace, you can check that by using regasm and exporting to a register file instead of directly into the register. (add /regfile:.reg So if I have a class in the VB.Net DLL called Test in a project called Test1 the full progID name should be Test1.Test and not just Test. However you can set a custom ProgID for each class with the ProgIdAttribute, see MSDN Article for more on that attribute.
-
Each class in your dll should have its own progid. This will include the full namespace, you can check that by using regasm and exporting to a register file instead of directly into the register. (add /regfile:.reg So if I have a class in the VB.Net DLL called Test in a project called Test1 the full progID name should be Test1.Test and not just Test. However you can set a custom ProgID for each class with the ProgIdAttribute, see MSDN Article for more on that attribute.
I did so now when i call the function of this class in dll it shows me that Microsoft VBScript compilation error '800a0414' Cannot use parentheses when calling a Sub /uttam/dlltest/test.asp, line 14 myObject.callweb(intvalue,i) ----------------------------^ I used myObject=Server.CreateObject("dllkeysearch.Class1") where dllkeysearch is dll project name and Class1 is the class name. :confused: try to be the best... whereever you go,