Link to home
Start Free TrialLog in
Avatar of at999
at999

asked on

Not all classes of DLL gets registered

I have created one DLL using VB.NET Visual studion 2005, it has four forms- Dockwin1, Dockwin2, Dockwin3 and Dockwin4.
This DLL is of .NET Type and i want to make it work through COM Interface. So I registered it using regasm.exe.

But the problem is that not all the classes inside that DLL were registered. (I checked regedit and looked for GUID of those classes)

Then I created installation application to install this DLL to find if those classes gets registered or not. Then i checked regedit and i found that GUID of those previously missing classes were there but there was no name against those GUIDS in the registry...In the registry, the keys are under mycomputer - >HKEY_CLASSES_ROOT->clsid-->GUID--, but in the  key there was no value in that key. Like for the some classes of that DLL which were registered it had the name of the Class against the GUID value in the registry...  
 
Due to all these issues, when i try to access those unregistered forms from outside application,  i get COM Exception as they are not registered correctly

Pl help me how to register these classes
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of at999
at999

ASKER

i found the solution.... thanks mas_oz2003

i had changed the constructors of those classes so it was not getting registered..... thanks for your help ....
Avatar of at999

ASKER

i found the solution myself but the suggestions were useful