Solved

how to register COM in .NET

Posted on 2006-11-03
2
236 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

This is about my first experience with programming Arduino.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

773 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