Solved

how to register COM in .NET

Posted on 2006-11-03
2
235 Views
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.



0
Comment
Question by:reshampun
2 Comments
 
LVL 2

Expert Comment

by:amiableansari
ID: 17865633

hi

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

http://www.msjogren.net/dotnet/eng/samples/dotnet_dynpinvoke.asp

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.
0
 
LVL 2

Accepted Solution

by:
chrsmrtn earned 125 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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Report events not being triggered 8 113
Magic Software info 18 124
Disable group policy that forbids software installation by system policy 4 59
Apps blocked by Java 9 55
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

932 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now