Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

how to register COM in .NET

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

860 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