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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
You need to define all your com functionality as interfaces not forms.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
at999Author Commented:
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 ....
at999Author Commented:
i found the solution myself but the suggestions were useful
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.