![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Query in register .Net dll Hi, I need to register my VB.Net dll. To register dll, I did the following steps 1. Project --> Properties -->Application --> Assembly Information --> check the " Make assembly COM-Visible " check box. 2. Project --> Properties --> Signing --> Create a strong name Key file. When I try to build the dll, It also asked me to create strong name key file for all other dlls referenced by this dll. As I am using third party dll, I am not able to create strong name key file for this referenced dll. Is it necessary to create strong name key? Orelse Is there anyother easiest way to register vb.net dll?. Kindly do help me. Thanks & Regards, Latha.P |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Query in register .Net dll "Latha" wrote: Quote: > Hi, > I need to register my VB.Net dll. To register dll, I did the following > steps > 1. Project --> Properties -->Application --> Assembly Information --> check > the " Make assembly COM-Visible " check box. > 2. Project --> Properties --> Signing --> Create a strong name Key file. > When I try to build the dll, It also asked me to create strong name key > file for all other dlls referenced by this dll. As I am using third party > dll, I am not able to create strong name key file for this referenced dll. > Is it necessary to create strong name key? Orelse Is there anyother easiest > way to register vb.net dll?. Kindly do help me. > > Thanks & Regards, > Latha.P > > > > for COM. When you build your dll, it will be registered for COM on your computer simply by checking the box "Make Assembly COM Visible". On any other computer, you register the dll for COM by running "regasm somefile.dll". Mike |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Query in register .Net dll Thanks for your information. Actually what my requirement is I need to register dll in widows registry to access the VB.Net dll from Jave script. The steps I have mentioned in previous mail (without strong name the dll) is enough to do this? If so, am I able to find the dll in "Registry Editor" under the folder "HKEY_CLASSES_ROOT\.dll? Thanks & Regards, Latha.P "Family Tree Mike" <FamilyTreeMike@xxxxxx> wrote in message news:46CC3709-E42B-42A2-ADCD-E1997C64B519@xxxxxx Quote: > > > "Latha" wrote: > Quote: >> Hi, >> I need to register my VB.Net dll. To register dll, I did the >> following >> steps >> 1. Project --> Properties -->Application --> Assembly Information --> >> check >> the " Make assembly COM-Visible " check box. >> 2. Project --> Properties --> Signing --> Create a strong name Key file. >> When I try to build the dll, It also asked me to create strong name >> key >> file for all other dlls referenced by this dll. As I am using third party >> dll, I am not able to create strong name key file for this referenced >> dll. >> Is it necessary to create strong name key? Orelse Is there anyother >> easiest >> way to register vb.net dll?. Kindly do help me. >> >> Thanks & Regards, >> Latha.P >> >> >> >> > No, you do not need to create a strong named assembly to register the dll > for COM. When you build your dll, it will be registered for COM on your > computer simply by checking the box "Make Assembly COM Visible". On any > other computer, you register the dll for COM by running "regasm > somefile.dll". > > Mike |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Query in register .Net dll * Latha wrote, On 10-9-2009 16:10: Quote: > Thanks for your information. > > Actually what my requirement is I need to register dll in widows registry to > access the VB.Net dll from Jave script. > The steps I have mentioned in previous mail (without strong name the dll) is > enough to do this? If so, am I able to find the dll in "Registry Editor" > under the folder "HKEY_CLASSES_ROOT\.dll? > strong name it can be added to the Global Assembly Cache, which in turn ensures that COM will be able to find it regardless of it's actual location. (You'd need to deploy the assembly either to a folder in the search path, to the application folder or to a wellknown location such as %systemroot%. A pretty technical discussion can be found here: http://www.eggheadcafe.com/forumarch...st25816365.asp The best solution would be to ask the party that provided the other assemblies to sign them and provide you with a new copy. Kind Regards, Jesse Houwing Quote: > Thanks& Regards, > Latha.P > > > > "Family Tree Mike"<FamilyTreeMike@xxxxxx> wrote in > message news:46CC3709-E42B-42A2-ADCD-E1997C64B519@xxxxxx Quote: >> >> >> "Latha" wrote: >> Quote: >>> Hi, >>> I need to register my VB.Net dll. To register dll, I did the >>> following >>> steps >>> 1. Project --> Properties -->Application --> Assembly Information --> >>> check >>> the " Make assembly COM-Visible " check box. >>> 2. Project --> Properties --> Signing --> Create a strong name Key file. >>> When I try to build the dll, It also asked me to create strong name >>> key >>> file for all other dlls referenced by this dll. As I am using third party >>> dll, I am not able to create strong name key file for this referenced >>> dll. >>> Is it necessary to create strong name key? Orelse Is there anyother >>> easiest >>> way to register vb.net dll?. Kindly do help me. >>> >>> Thanks& Regards, >>> Latha.P >>> >>> >>> >>> >> No, you do not need to create a strong named assembly to register the dll >> for COM. When you build your dll, it will be registered for COM on your >> computer simply by checking the box "Make Assembly COM Visible". On any >> other computer, you register the dll for COM by running "regasm >> somefile.dll". >> >> Mike > -- Jesse Houwing jesse.houwing at sogeti.nl |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Cannot register a dll | Virtual Server | |||
| Register key for SLI | Vista Games | |||
| do I have to re-register If---- | Vista General | |||
| .ocx how to register? | Vista installation & setup | |||
| where do i register | Vista General | |||