how to register COM in .NET

Posted on 2006-11-03
Medium Priority
Last Modified: 2013-11-25
I am
trying to register the dll related to TextToSpeech on other machine with Visual Studio.NET 2003. Regsvr32 doesn't, and regasm
too. How could I register this type of dll?

While in Visual Studio.NET 2002 it is working perfectly.

I even tried by making a setup file of the program in Visual Studio.NET 2002 and tried to install in the computer where VS.NET 2003 was installed. even it doesn't work out.

Question by:reshampun

Expert Comment

ID: 17865633


if you want to register the COM dlls programatically then here is a very good code available at


whats the error that regsvr32 is giving? are you sure that the dlls are COM? if the dlls are .net assemblies then you dont need to register it; just have to copy it.

Accepted Solution

chrsmrtn earned 375 total points
ID: 17866586
You can simply put a copy of the dll that you want to register into the same bin directory for web apps, or put the dll along side the compiled exe file.

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
Six Sigma Control Plans
Introduction to Processes

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question